home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / textfile / hsbas_1 / hsbas_1.txt < prev   
Text File  |  1995-04-27  |  114KB  |  3,343 lines

  1. =========================================================================
  2. (C) 1994 by Atari Corporation, GEnie, and the Atari Roundtables. May
  3. be reprinted only with this notice intact.  The Atari Roundtables on
  4. GEnie are *official* information services of Atari Corporation. To sign
  5. up for GEnie service, call (with modem) 800-638-8369.  Upon connection
  6. type HHH (RETURN after that). Wait for the U#= prompt.Type XTX99437,GENIE
  7. and press [RETURN]. The system will prompt you for your information.
  8. ==========================================================================
  9.  ************
  10. Topic 8         Sun Oct 25, 1992
  11. ORA.TECH                     at 20:18 EST
  12. Sub: HiSoft Basic 2
  13.  
  14. The BASIC of the 90's
  15. 200 message(s) total.
  16.  ************
  17.  ------------
  18. Category 33,  Topic 8
  19. Message 1         Mon Nov 02, 1992
  20. HUMPHRIES.JR [Roger]         at 19:38 EST
  21.  
  22. Hi,
  23.  
  24. I guess I will get this one started.  I have been using HiSoft Basic for a few
  25. years now, and have upgraded to HiSoft Basic 2.  I think it is a __great__
  26. version of Basic.  Unfortunately it has not gotten a lot of user support or
  27. interest in terms of sharing information.  There has been some message traffic
  28. in the previous HiSoft topics, but not too much. Nor has there been much
  29. uploaded in the way of samples, demos, etc.
  30.  
  31. Anyway, I like it, I think it deserves some good support (which it should get
  32. now that Bob has got it in his stable), and I would like to see this be a busy
  33. topic.
  34.  
  35. sSo dive in folks -- let's get this one going.
  36.  
  37.  -- Roger
  38.  ------------
  39. Category 33,  Topic 8
  40. Message 2         Mon Nov 02, 1992
  41. W.STEINERT [Wayne]           at 21:40 EST
  42.  
  43.  
  44.  
  45.         My upgrade request & bucks are on the way! I'm sure I'll be bugging
  46. you soon... Does the WERCS that comes with BASIC 2 have the GDOS extension?
  47.  
  48.  
  49.         Wayne
  50.  
  51.  
  52.  ------------
  53. Category 33,  Topic 8
  54. Message 3         Tue Nov 03, 1992
  55. CBARRON                      at 03:00 EST
  56.  
  57.   The thing about Hisoft Basic that I like is I don't need to remember what
  58. tos a program was compiled under and what version of the compiler was used,
  59. and I can compile generic basic programs from other platforms with little or
  60. ussually no change whatsoever. it is fast and fairly compact for a basic.  I
  61. will be upgrading shortly, but I have no qualms about it.
  62.   It does deserve a little more support from its users.  Perhaps now that
  63. upgrade path and aquiring path has improved there will be more sales and users
  64. of it.
  65.  ------------
  66. Category 33,  Topic 8
  67. Message 4         Tue Nov 03, 1992
  68. CBARRON                      at 03:01 EST
  69.  
  70.  Wayne...
  71.   WERCS is a resource file editor. What 'GDOS' extension are you referring
  72. to???  Perhaps you are wondering if BASIC 2 supports gdos??  I do not know i
  73. still have the old version of the professional basic.
  74.  ------------
  75. Category 33,  Topic 8
  76. Message 5         Wed Nov 04, 1992
  77. HISOFT                       at 13:23 EST
  78.  
  79. I think Wayne is refering to the old WERCS+ product that we  have. This was
  80. basically the standard WERCS package together  with GDOS and a leaflet
  81. describing some of the programming side  of the original GDOS. As such its a
  82. bit out of date. This isn't  included in HiSoft BASIC 2 - you get a version of
  83. WERCS just for  use with HiSoft BASIC.
  84.  
  85. When SpeedoGDOS comes out we intend add library calls for this  to the HiSoft
  86. BASIC 2  package. The existing package already has  the core routines you need
  87. to use the original GDOS (detecting  that its there, openning a physical
  88. workstation, loading fonts -  that sort of thing).
  89.  
  90. Dave Nutkins, HiSoft.
  91.  
  92.  
  93.  ------------
  94. Category 33,  Topic 8
  95. Message 6         Thu Nov 05, 1992
  96. J.SPIEGEL [Joe]              at 20:30 EST
  97.  
  98. I just completed my first Hisoft BASIC program that uses resource files (It's
  99. in the library, although it won't be of much interest unless you have an X10
  100. Powerhouse home controller).  I was wondering if it was possible to compile
  101. the resource files into the program.  I know it is possible with other
  102. languages.
  103.  
  104. I really like the toolkit provided with version 2.  I never quite got the
  105. handle on resource files before.  The toolkit makes things easy.
  106.  ------------
  107. Category 33,  Topic 8
  108. Message 7         Thu Nov 05, 1992
  109. J.SIEBEN [Mike]              at 22:39 EST
  110.  
  111. I was hoping to see a feature synopsys rundown of this product by now.  Oh
  112. well then, a few questions.  How does this compare to GFA? How clean (no
  113. tricks, illegal stuff) does it compile?  Does it use line numbers or labels?
  114. How is the editor?
  115.  
  116. An idle GFAer Mike
  117.  
  118.  ------------
  119. Category 33,  Topic 8
  120. Message 8         Fri Nov 06, 1992
  121. CBARRON                      at 07:08 EST
  122.  
  123.  Mike.....
  124.   Well, I don't have version 2 but if it is downward compatible to version 1.x
  125. then:
  126.    It compiled clean legal tos independent code with 1.x, I see no reason for
  127. a backslide in this department.  The code is reasonably fast and legal.
  128.    It uses line #'s and or labels, functions and subroutines and all the
  129. standard structured programning statements.
  130.   Most of my original hisoft basic code uses neither labels or line #'s, just
  131. structured programming statements and subroutines/functions.
  132.   It compiles with few changes ST basic, Microsoft QuickBasic (some version
  133. not necc. the abs. latest from MS). Old style MSbasic.   The editor did in 1.x
  134. did no syntax checking so that code can be entered into the editor and
  135. converted without a zillion syntax errors. It did and should integrate the
  136. whole process making error correction 'fairly easy'. Came with a profiler and
  137. other nice tools.  I can only guess that version 2.x is only better.
  138.    You might look under the uploader HISOFT for press releases about their
  139. products.  The should be a file describing at least the changes from 1.x to
  140. 2.x.  I have had both gfa and hisoft basic. Hisoft basic is the one that I
  141. still use.
  142.  ------------
  143. Category 33,  Topic 8
  144. Message 10        Sat Nov 07, 1992
  145. J.SPIEGEL [Joe]              at 12:18 EST
  146.  
  147. Here's some information obtained from the HiSoft BASIC, version 2 "Product
  148. Information Sheet"
  149.  
  150.    extended and re-designed user interface with multi-window editor,
  151.    integrated tools, full shell control, etc. [The editor allows 6
  152.    windows, including a compiler message window. The "Tools" menu is
  153.    configurable to allow external program launching.]
  154.  
  155.    resource construction set [WERCS] and debugger [MonSTB] included in
  156.    the package
  157.  
  158.    closer compatibility with Microsoft QuickBASIC including new language
  159.    features such as STATIC arrays
  160.  
  161.    complete high level GEM toolbox, including full source code in BASIC
  162.    [the toolbox is a set of BASIC programs that can be "included" in
  163.    your source code.  These provide easy access to GEM calls through
  164.    BASIC subprograms and functions.]
  165.  
  166.    extensive support for the new Atari TT and MegaSTE computers
  167.  
  168.    pre-tokenization of source code for increased compilation speed
  169.  
  170.    re-written documentation with wide-ranging tutorials and an extended
  171.    technical reference
  172.  
  173.    profiler for increasing the execution speed of your finished programs
  174.  
  175.  
  176.    I've been using the program for a few weeks now and I am very impressed
  177. with both its design and performance.  When I recompiled some of my older
  178. (version 1.3) programs, the resulting code was more compact, even with all of
  179. the safety and debugging features turned on.  The only minor irritation that I
  180. have found so far is after a program is "run" from memory.  When the editor
  181. comes back up, the window is restored to the location that was in view prior
  182. to running the program, but the vertical slider is at the top of the bar.  The
  183. window has to be scrolled to get the slider to appear in the correct position.
  184.  
  185.    The bottom line is that I would highly recommend the upgrade to this
  186. version.
  187.  
  188.  
  189.  ------------
  190. Category 33,  Topic 8
  191. Message 11        Mon Nov 09, 1992
  192. HISOFT                       at 13:39 EST
  193.  
  194. Joe,
  195.  
  196. I'm glad you like HiSoft BASIC 2.
  197.  
  198. It is possible to embed resources into HiSoft BASIC  programs but its not
  199. straight forward. You could use the  resource de-compiler that comes with
  200. Lattice C 5.5, write a  few functions to return the addresses of the dialogs
  201. in  assemble, assemble the code that this produces and them  with your BASIC
  202. program with the Lattice linker. This is  something that we hope to make
  203. easier at some point in the  future.
  204.  
  205. Dave Nutkins, HiSoft.
  206.  
  207.  ------------
  208. Category 33,  Topic 8
  209. Message 12        Mon Nov 09, 1992
  210. W.STEINERT [Wayne]           at 22:32 EST
  211.  
  212. C Barron,
  213.  
  214.  
  215.         I wasn't very clear... I had heard that there was a new WERCS with a
  216. GDOS toolkit. I have the other one.
  217.  
  218.  
  219.     Hi!
  220.  
  221.  
  222.     Well, Hi-Soft BASIC 2 arrived in the mail today..... WOW! It's nice. I
  223. won't go through the new features because someone here already has, but I had
  224. to post here because I don't know any bit heads where I live so when I explain
  225. my excitement they roll their eyes.  :-)
  226.  
  227.     There's a few things I really like about Hi-Soft BASIC, and 2 is even
  228. better. I like the fact that you can create your own libraries. If this
  229. language becomes popular people could create 'extensions' for it easily. I
  230. also like the ability to 'Include' other source when compiling. I use DevPac a
  231. lot and miss that ability with most Basics. I also like the fact that
  232. GEM,AES,GEMDOS and other calls are used instead of basic statements and
  233. functions whenever possible. It really makes the transition between assembly
  234. and basic easier. The new editor is GREAT! It has many new features, and the
  235. ability to have up to seven window is cool. It's nice to be able to peek at an
  236. 'included' file if you're not quite sure what's in it. I've only used it one
  237. day and there's things I wouldn't want to give up! I became a 1/2 convert from
  238. using GFA for basic to Hi-Soft about 2 months ago, now I'm fully converted.
  239.  
  240.  
  241.  
  242.     Enough rambling! If you like version 1, you'll LOVE version 2! Thanks for
  243. letting me share my excitement... I HAD to tell someone.....
  244.  
  245.  
  246.     Rat Fink
  247.  
  248.     (Wayne)
  249.  
  250.  ------------
  251. Category 33,  Topic 8
  252. Message 13        Tue Nov 10, 1992
  253. HISOFT                       at 13:26 EST
  254.  
  255. Joe.
  256.  
  257. I tried to emulate that editor scroll bar glitch after running  with the
  258. current 2.02 release and I couldn't do so. Which  version do you have?
  259.  
  260.  
  261. Dave Nutkins, HiSoft.
  262.  ------------
  263. Category 33,  Topic 8
  264. Message 14        Tue Nov 10, 1992
  265. DRAGONWARE [Chris]           at 21:45 EST
  266.  
  267.  Dave I am doing some small util programs and need to put a directory in a
  268. STRING$() can I do this with Hisoft Basic 2 and if so which Command.
  269.  I tried the Files command but it will not redirect to a STRING().
  270.  
  271.  Chris
  272.  ------------
  273. Category 33,  Topic 8
  274. Message 15        Wed Nov 11, 1992
  275. W.STEINERT [Rat Fink]        at 00:21 EST
  276.  
  277.   Umm... Is the WERCS included with BASIC 2 the same as the 'stand alone'
  278. WERCS except that you cannot choose a language? I ask this because I already
  279. own WERCS and use it for DevPac and want to know if I really need both of them
  280. on my drive....
  281.  
  282. One more question: I'm becoming more familiar with the PATH environment
  283. variable since I've gotten the Portfolio, which uses DOS (Dumb Old-fashioned
  284. System). My paths are long - ie. 'E:\HI_SOFT.2\SOURCE\ or
  285. E:\HI_SOFT.2\INCLUDE\'. What I want to know is if there's a way to tell the
  286. system that all paths are in E:\HI_SOFT.2\. I've seen ';' used in PATH
  287. variables.... is that the answer? Say 'E:\HI_SOFT.2\; INCLUDE\,HGT\,SOURCE\
  288.  
  289. Any help would be great!
  290.  
  291. I must say that I feel BASIC 2 will completely change the way I do 'mixed'
  292. programming (Assembly/BASIC). Using the debugger I can now easily pinpoint
  293. areas that I may wish to re-write in assembly, and I can also add libraries
  294. relatively easily. I've been writing one line programs like 'BEEP', compiling
  295. them and then picking them apart, just to see how the compiler works. The
  296. manuals are very well-written.  The 'User' manual caters to experienced
  297. programmers as well as newbies...  I didn't fall asleep once! I know I'm going
  298. on a bit, but I've always hoped for a contender to GFA BASIC that had many of
  299. the features BASIC 2 has.
  300.  
  301. Rat Fink
  302.  
  303.  
  304.  ------------
  305. Category 33,  Topic 8
  306. Message 16        Wed Nov 11, 1992
  307. CBARRON                      at 04:17 EST
  308.  
  309.   The standard usage of ;'s in a path variable in the environment is a record
  310. separator allowing more than one directory to be on the path,
  311.   PATH=M:\;E:\LATTICE\BASIC\BIN\;E:\LATTICE\C\BIN\
  312.  would search M:\ (a ramdisk),then E:\LATTICE\BASIC\BIN\ and finally
  313. E:\LATTICE\C\BIN\ on most shells supporting an environment so that the command
  314.    M:\foo
  315.    E:\LATTICE\BASIC\BIN\foo
  316.    E:\LATTICE\C\BIN\foo
  317.  appending the executable extensions to the resulting file name. first one
  318. found is used,
  319.  
  320.  ------------
  321. Category 33,  Topic 8
  322. Message 17        Wed Nov 11, 1992
  323. J.SPIEGEL [Joe]              at 20:10 EST
  324.  
  325. Dave,
  326.    I have version 2.02 of BASIC (Editor release 2.27).  Whenever I am editing
  327. a program and then "run" it, the cursor and view are restored when I get back
  328. to the editor, but the slider is always displayed at the top.  I have to click
  329. in the slider area or on one of the arrows to get it to reposition itself
  330. properly.  If I just compile the program, the editir is properly restored.  I
  331. am running TOS 1.04 on a Mega ST.
  332.  
  333. Chris,
  334.   If I understand what you are looking for, just use the DIR2STR example
  335. program supplied with HiSoft BASIC.  Instead of appending a CHR$(10) and
  336. CHR$(13) to each returned filename to create one long string, just assign the
  337. filename to an element in your string array.
  338.  
  339. Rat Fink,
  340.   Dave may have to verify this, but since WERCS is still a stand-alone program
  341. (the editor only shells to it), there should be no problem using the full
  342. version instead.
  343.  
  344.  
  345.  ------------
  346. Category 33,  Topic 8
  347. Message 18        Wed Nov 11, 1992
  348. W.STEINERT [Rat Fink]        at 21:56 EST
  349.  
  350. Dave & John,
  351.  
  352. I have Version 2.02 on TOS 1.62 (STe) and *do* experience the 'scroll bar
  353. glitch'. I also have a TOS 1.04 (STf) machine that I'll check out. It doesn't
  354. bother me though.
  355.  
  356.  
  357. Chris,
  358.  
  359. There's a DEMO program on disk one or two that 'puts a directory in a string'.
  360. They must've read your mind! :-) I'm pretty sure you can work out something
  361. with it...
  362.  
  363.  
  364. Rat Fink
  365.  
  366.  
  367.  ------------
  368. Category 33,  Topic 8
  369. Message 19        Thu Nov 12, 1992
  370. HISOFT                       at 13:32 EST
  371.  
  372. Chris,
  373.  
  374. There isn't a single command to read a directory into a string, you have to do
  375. it via the GEMDOS fsfirst/fsnext;  like Rat Fink says there's an example of
  376. this sort of thing in the manual.
  377.  
  378. Rat Fink,
  379.  
  380. Yep, the WERCS included in BASIC 2 is the same as the standard  issue except
  381. for the restriction on the language.  Note however  that you'll need version
  382. 1.24 of WERCS if you want to make it  resident under the BASIC 2 editor (or
  383. the Devpac 3 or Lattice  editors for that matter).
  384.  
  385. Re. editor, whoops - it looks like I was using an internal version that still
  386. claims to be 2.02!  At least we know it'll be fixed for the next release.
  387.  
  388. Dave N. P.S. its best to avoid using periods (.)  in folder names as  some
  389. software can get confused by these. (Even _ causes problems  under TOS 1.0)
  390.  
  391.  ------------
  392. Category 33,  Topic 8
  393. Message 20        Thu Nov 12, 1992
  394. DRAGONWARE [Chris]           at 17:57 EST
  395.  
  396. Many Thanks Folks I am Uploading a TreuBasic to Hisoft Basic converter as a
  397. PRG this weekend I will include the source as well.
  398.  
  399.  Chris
  400.  ------------
  401. Category 33,  Topic 8
  402. Message 21        Fri Nov 13, 1992
  403. CBARRON                      at 01:44 EST
  404.  
  405.  Very interesting I have a good collection of true basic routines, when I get
  406. around to upgrade I can use them again....
  407.  
  408.  ------------
  409. Category 33,  Topic 8
  410. Message 22        Fri Nov 13, 1992
  411. D.LIVINGST11 [ErnestBovine]  at 05:54 EST
  412.  
  413.  It's not too hard to embed a resource file in Basic, if you can include the
  414. binary rsc file someplace, like INLINE in "that other Basic."
  415.  You have to read a bunch of words from the 18-word rsc-file header to find
  416. offsets to each part of the file (objects, tedinfos, array of pointers to the
  417. strings, etc.)
  418.  You have to do rsc_obfix on every object, and for each object (and tedinfo
  419. etc) that needs an absolute pointer in its ob_spec field, you have to figure
  420. out what that pointer is.  The ob_specs in the rsc file on disk contain array
  421. indices, not addresses.
  422.  I've got some GFA code around here someplace...
  423.  ------------
  424. Category 33,  Topic 8
  425. Message 23        Fri Nov 13, 1992
  426. CBARRON                      at 06:32 EST
  427.  
  428.   It is my understanding that this basic will link external modules. If I am
  429. right there are routines available to do the imbedding almost automatically.
  430. Fairly simple to use is rsc2src with the devpac support code as an example, if
  431. you have an assembler.  No arithmetic at all just a fix_up routine and some
  432. easy to use access vectors which a long peek or equivalent would do.  I assume
  433. there are 16 and 32 bit ints in this basic.  If there is an inline those
  434. approaches could be used, but if not and an assembler is available, there is
  435. code in these libs to compile rsc files to assembler source. Rsc2src's code is
  436. more compact than a raw copy of the rsc file.
  437.  
  438.  ------------
  439. Category 33,  Topic 8
  440. Message 24        Sat Nov 14, 1992
  441. DRAGONWARE [Chris]           at 17:08 EST
  442.  
  443. Problem
  444.  LET FREMEM=FRE(-1)
  445.  returns a -84321 value WHY!???
  446.  
  447.  Chris
  448.  ------------
  449. Category 33,  Topic 8
  450. Message 25        Sun Nov 15, 1992
  451. R.WATSON15 [Wayne Watson]    at 10:40 EST
  452.  
  453. Chris,
  454.   FRE(0) will return the next block of heap space available and FRE(-1) will
  455. return the GEMDOS (system) free space. The heap space stores variables and
  456. such and GEMDOS free space is what is not being used by the program.
  457.  
  458. HISOFT,
  459.   I have a few questions. I currently program in GFA Basic. I love the
  460. language and have come to really like a lot of features. However, I am
  461. frustrated with the way things go (uncompatibility with new TOS versions and
  462. long times between upgrades). I have thought about trying HS Basic 2.0. I
  463. currently have the 1.x version and there were a few things that have kept me
  464. from moving over and wanted to ask about them here.
  465.  
  466.   In GFA I can just use a variable and it is assumed to be global. I don't
  467. have to define each variable I use and if I want it to be LOCAL, I can define
  468. it that way. I realize this may seem to be the easy way out but, a program I
  469. am currently working on is over 400K in source code and variables out the
  470. butt. Will there be in the future, the ability to use a variable without
  471. declaring it and the program assume it to be global?
  472.  
  473.   Will there be the ability to FOLD procedures and functions so that only the
  474. name of the procedure or function is show? This make editing a breeze and
  475. saves a lot of time looking through the 20,000+ lines of code.
  476.  
  477.   Will it automatically indent FOR..NEXT loops, IF...ENDIF, etc.?
  478.  
  479.   Does it have or will it have active error checking as you enter the line?
  480.  
  481.   These are just a few questions about 2.x. I have the HS Basic Pro version
  482. 1.x. I didn't play with it very long because I have become accustomed to the
  483. short time and ease of editing my code. These are just a few things that keep
  484. me from switching but, if these items are there or will be added, I may just
  485. reconcider. It also depends on other factors but I will not bring that up
  486. here.
  487.  
  488.   Thanks for any inforamtion you can provide. I have heard a lot of good
  489. things about HS Basic 2.x but, I don't want to spend the money on something I
  490. may not use. Thanks.
  491.  
  492.  ------------
  493. Category 33,  Topic 8
  494. Message 26        Mon Nov 16, 1992
  495. HISOFT                       at 13:25 EST
  496.  
  497. Re embedding resource files:
  498.  
  499. HiSoft BASIC 2 doesn't have an INLINE statement; Carl's method  would work but
  500. you would need Devpac 3, as the linkable code  that HiSoft BASIC uses needs
  501. the Clink linker, as supplied with  Devpac 3 and Lattice C, but not with
  502. HiSoft BASIC 2.
  503.  
  504.  
  505. Dave Nutkins, HiSoft.
  506.  
  507.  ------------
  508. Category 33,  Topic 8
  509. Message 27        Mon Nov 16, 1992
  510. DRAGONWARE [Chris]           at 15:37 EST
  511.  
  512. Dave:
  513.     Why am i getting a NEGITIVE number with a FRE(-1) What I need to know is
  514. HOWMUCH RAM is installed in the current computer running the program.   HELP!
  515.  
  516.  Chris
  517.  ------------
  518. Category 33,  Topic 8
  519. Message 28        Tue Nov 17, 1992
  520. CBARRON                      at 02:36 EST
  521.  
  522.   HISOFT - you caught my curiousity, with Clink, is there a way to get some
  523. LC5 routines to use the BASIC routines for double precision arithmetic rather
  524. than those of LC5, so if I have a C routine that does something I don't have
  525. two or three different copies of the same function such as software double
  526. multiply. I am guessing that it still uses IEEE for double precision.  I have
  527. some number cruncher routines I might want in a basic shell.  Might need
  528. bindings but they should be easier than converting the library to basic.
  529.    Also rsc2src.ttp produces a file where all the labels begin with a period
  530. to be local, I assume this has not changed from devpac2 to devpac3.   The
  531. labels for the assembler code are machine generated, but local variables makes
  532. them super safe...
  533.    A language 'junkie' I guess, but I have all of the above products in earier
  534. versions and will be upgrading shortly.
  535.  
  536.  
  537.  ------------
  538. Category 33,  Topic 8
  539. Message 29        Tue Nov 17, 1992
  540. HISOFT                       at 13:20 EST
  541.  
  542. Chris,
  543.  
  544. Like Wayne says FRE(-1) just returns the GEMDOS free  memory. It works fine
  545. for me here.
  546.  
  547. Wayne,
  548.  
  549. The default for undefined variables remains STATIC (i.e.  not global). There
  550. are certainly no plans to change this.  If you use DIM SHARED in your main
  551. program then you can  automatically use the global version in all sub-programs
  552.  and functions.
  553.  
  554. The only BASIC specific part of the editor is that it can  upper case your
  555. reserved words for you.
  556.  
  557. Dave Nutkins, HiSoft.
  558.  
  559.  ------------
  560. Category 33,  Topic 8
  561. Message 30        Tue Nov 17, 1992
  562. J.EIDSVOOG1 [CodeHead]       at 18:27 EST
  563.  
  564. If you're using a word-sized variable for the return from FRE(-1), chances are
  565. about 50/50 that you'll get a negative number.  Make sure you're using a long
  566. word.
  567.  
  568. John
  569.  ------------
  570. Category 33,  Topic 8
  571. Message 31        Tue Nov 17, 1992
  572. R.WATSON15 [Wayne Watson]    at 22:36 EST
  573.  
  574. Thanks Dave. Do you plan to add auto-indent and procedure folding in the
  575. future?
  576.  
  577.   How does HS Basic 2.0 (or can it) handle modular programming? What I mean
  578. is, if I have a main program with variables set to SHARED, GLOBAL, etc. and I
  579. want to run a module (another compiled program), is there a way to easily pass
  580. (or use) those variables in the module?
  581.  
  582.   Say I want to build a library of routines/procedures (uncompiled), is there
  583. or will there be a way to INCLUDE those and the compiler merge them in. That
  584. way, if I make a change to that routine, I can just recompile the main source
  585. codes and automatically pull that routine in. It helps in that you don't have
  586. to change the routine in all your modules/programs.
  587.  
  588.   Same question for compiled routines. If I create a routine and compile it
  589. (not link it), can it be added to the LIBRARY and called from within a program
  590. as a function/procedure?
  591.  
  592.   Thanks for the info.
  593.  
  594.  ------------
  595. Category 33,  Topic 8
  596. Message 32        Wed Nov 18, 1992
  597. HISOFT                       at 13:21 EST
  598.  
  599. Carl,
  600.  
  601. Re maths routines:
  602.  
  603. Interesting idea there; yep HiSoft BASIC does use double IEEE format; but the
  604. way numbers are passed is different to the C method so it wouldn't work.
  605.  
  606. Re local labels in Devpac:
  607.  
  608. Yep labels being with a dot are still local (by default).
  609.  
  610. Chris,
  611.  
  612. John's idea sounds possible - you want to store that width in a long or a
  613. single not a standard integer.
  614.  
  615. Dave N.
  616.  
  617.  ------------
  618. Category 33,  Topic 8
  619. Message 33        Thu Nov 19, 1992
  620. DRAGONWARE [Chris]           at 00:10 EST
  621.  
  622.  Yup I tried it and FREMEM&=fre(-1) works Thanks folks this multi level
  623. varables is new to me in basic's.   I am Uploading a TrueBasic to HSB2 PRG and
  624. True basic source/HS2 source as well
  625.  It will be PD so enjoy.
  626.  
  627.  Chris
  628.  ------------
  629. Category 33,  Topic 8
  630. Message 34        Thu Nov 19, 1992
  631. HISOFT                       at 13:16 EST
  632.  
  633. Wayne,
  634.  
  635. Syntax directed auto-indent (we already have 'pure' auto-indent)  and
  636. procedure folding aren't something we have planned for the  short/medium term.
  637.  
  638. As far as building modular programs, there are two principle  facilities:
  639.  
  640. 1. Include files at compile time as you describe 2. You can build a pre-
  641. tokenised file of often used  procedures/functions. This speeds up compilation
  642. times  considerably.
  643.  
  644. You can't share variables accross separate executable files, nor  can you
  645. write LIBRARYs (in the HiSoft BASIC 1 sense) in BASIC -  only assembler.
  646.  
  647. Dave N.
  648.  ------------
  649. Category 33,  Topic 8
  650. Message 35        Sat Nov 21, 1992
  651. R.WATSON15 [Wayne Watson]    at 12:56 EST
  652.  
  653.   Thanks Dave, the modular building sounds pretty good and is close enough to
  654. what I was looking for.
  655.  
  656.   I do wish HISOFT would reconsider the procedure folding thing or even
  657. something similiar. It makes life so much easier. I may have to look into HS
  658. Basic 2.0 after all.
  659.  
  660.   What is the upgrade price from HS Basic Pro?
  661.  
  662.  ------------
  663. Category 33,  Topic 8
  664. Message 36        Sat Nov 21, 1992
  665. ORA.TECH                     at 19:15 EST
  666.  
  667. Wayne - The upgrade from HS Basic Pro to HS Basic 2 is $64 ($59 + $5 S&H)
  668.  
  669. Bob @ ORA
  670.  ------------
  671. Category 33,  Topic 8
  672. Message 37        Sat Nov 28, 1992
  673. DRAGONWARE [Chris]           at 15:52 EST
  674.  
  675.  I am doing a D/A and need to allow the D/A to interupt a program when a Timer
  676. reaches zero.  I also need it to check the timer at least once a minute.
  677.  
  678.  What calls should I use in HB2 to accomplish this Constant Reading of a Clock
  679. in the D/A and not intrupt the current program until it reaches Zero?
  680.  
  681.  Chris
  682.  ------------
  683. Category 33,  Topic 8
  684. Message 38        Mon Dec 14, 1992
  685. J.KOSIOREK1 [Jack.K]         at 23:52 EST
  686.  
  687. Is there a way to find the base page address of a program in HiSoft  BASIC? Is
  688. it possible - is an assembler routine necessary? Would it  be possible with
  689. without an assembler routine? If it is possible, what are the specifics to
  690. accomplish this.
  691.  
  692. Jack
  693.  
  694.  ------------
  695. Category 33,  Topic 8
  696. Message 39        Thu Dec 17, 1992
  697. HISOFT                       at 13:17 EST
  698.  
  699. Jack.K,
  700.  
  701. The current base page is one of the entries in the SYSTAB table. See  your
  702. manual under SYSTAB.
  703.  
  704. Dave Nutkins, HiSoft.
  705.  
  706.  ------------
  707. Category 33,  Topic 8
  708. Message 40        Thu Dec 17, 1992
  709. DRAGONWARE [Chris]           at 15:25 EST
  710.  
  711. Dave What command do I use to get a VOLUME LABEL ?
  712.  
  713.  Chris
  714.  ------------
  715. Category 33,  Topic 8
  716. Message 41        Sun Dec 20, 1992
  717. J.KOSIOREK1 [Jack.K]         at 21:54 EST
  718.  
  719. Thanks Dave. I thought I read it somewhere in one of those 2 manuals. I have
  720. another question and I bet you can lead me in the right direction. If I put a
  721. dialog box in a window what is the general procedure to  scroll it and move it
  722. around the screen? When I did this the location on the screen where the radio
  723. buttons were displayed were offset from where I actually had to click the
  724. mouse. I'm sure I am missing  something but I can't spot it in the code.
  725.  
  726. Jack.K
  727.  ------------
  728. Category 33,  Topic 8
  729. Message 42        Mon Dec 21, 1992
  730. DRAGONWARE [Chris]           at 12:56 EST
  731.  
  732. Jack you must do a form_dial after the move to tell the system where the new
  733. locations are for the buttons etc.
  734.  
  735. Chris
  736.  ------------
  737. Category 33,  Topic 8
  738. Message 43        Mon Dec 21, 1992
  739. HISOFT                       at 13:36 EST
  740.  
  741. Chris,
  742.  
  743. You need to use fsfirst from the GEMDOS library to get the  volume label.The
  744. values for the attribute parameter are  given under the fattrib function.
  745.  
  746. Dave N.
  747.  ------------
  748. Category 33,  Topic 8
  749. Message 44        Mon Dec 21, 1992
  750. DRAGONWARE [Chris]           at 22:53 EST
  751.  
  752. Many thanks Dave!!
  753.  ------------
  754. Category 33,  Topic 8
  755. Message 45        Sat Dec 26, 1992
  756. J.KOSIOREK1 [Jack.K]         at 20:10 EST
  757.  
  758. Chris
  759.  
  760. Thanks for the info about the form_dial. I will go back and check the code but
  761. I believe you are right. I don't remember doing it.
  762.  
  763. Jack
  764.  
  765.  ------------
  766. Category 33,  Topic 8
  767. Message 46        Tue Dec 29, 1992
  768. DRAGONWARE [Chris]           at 18:50 EST
  769.  
  770. If you folk are intrested I uploaded my routine for reading the free and used
  771. space on any drive. it is file # 27121 "FREEUSED.BAS"
  772.  
  773. Chris
  774.  ------------
  775. Category 33,  Topic 8
  776. Message 47        Thu Jan 21, 1993
  777. SFRT-ASST [Kenne@SFRT]       at 14:43 EST
  778.  
  779. I have HS BAsic can I upgrade to HSBII? If so, how?
  780.  ------------
  781. Category 33,  Topic 8
  782. Message 48        Fri Jan 22, 1993
  783. DRAGONWARE [Chris R.]        at 15:13 EST
  784.  
  785.  I am At present doing an ACC and I have to call a file selector and then the
  786. RSC for the ACC and the RSC draws but then dissapears where the File selector
  787. was What did I do wrong??
  788.  
  789.   Chris
  790.  ------------
  791. Category 33,  Topic 8
  792. Message 49        Sun Jan 24, 1993
  793. ORA.TECH                     at 01:21 EST
  794.  
  795. Kenne,
  796.  
  797. You can upgrade to HiSoft Basic 2 by sending your original disk and $69 to:
  798.  
  799. Oregon Research Associates 16200 SW Pacific Hwy Suite 162 Tigard, OR 97224
  800.  
  801.  
  802. Best regards,
  803.  
  804. Bob@ORA
  805.  ------------
  806. Category 33,  Topic 8
  807. Message 50        Tue Jan 26, 1993
  808. HISOFT                       at 13:22 EST
  809.  
  810. Chris,
  811.  
  812. You need to put a window "behind" any dialog boxes that you ACC  displays.
  813. That will stop the application (or the desktop)  underneath getting a redraw
  814. event when the file selector goes  away.
  815.  
  816. Dave N.
  817.  
  818.  ------------
  819. Category 33,  Topic 8
  820. Message 51        Wed Jan 27, 1993
  821. J.HUGHES23 [Jack ]           at 00:05 EST
  822.  
  823. Bob  --  Did you receive my upgrade request?  Been awhile since I sent for it.
  824. I took the photocopy route for the disks.
  825.  
  826.                 [( )   Jack   ( )]
  827.  ------------
  828. Category 33,  Topic 8
  829. Message 52        Wed Jan 27, 1993
  830. DRAGONWARE [Chris R.]        at 14:25 EST
  831.  
  832. Thank You Dave can you give some code examples??
  833.  
  834. Chris
  835.  ------------
  836. Category 33,  Topic 8
  837. Message 53        Thu Jan 28, 1993
  838. ORA.TECH                     at 22:44 EST
  839.  
  840. I am sorry Jack, we have no record of receiving your upgrade request. No
  841. invoice has been processed and It's not in the in box.  I'll check around.
  842.  
  843. Best regards,
  844.  
  845. Bob@ORA
  846.  ------------
  847. Category 33,  Topic 8
  848. Message 54        Fri Jan 29, 1993
  849. HISOFT                       at 13:26 EST
  850.  
  851. Chris,
  852.  
  853. Unfortunately I'm a bit busy finishing off TruePaint at the  moment to do an
  854. example but qall you need to do is to open a bro all  window at the same co-
  855. ords as your dialog box and then close it  when your dialog box goes away.
  856.  
  857. Dave N.
  858.  
  859.  ------------
  860. Category 33,  Topic 8
  861. Message 55        Sat Jan 30, 1993
  862. J.HUGHES23 [Jack ]           at 17:37 EST
  863.  
  864. Bob  --  Well at least we know something..  I habitually use the envelopes
  865. received with "Junk Mail" and found out the hard way that the written address
  866. does _not_ mean a thing to the USPS.  Mail is delivered according to the
  867. little lines at the bottom of the envelope, and the devil take the hindmost!
  868. I ususally mark them out, and may have screwed up this time.  I'll stop
  869. payment on the check and start over again come Monday.        Thanks
  870.  
  871.                 [( )   Jack   ( )]
  872.  
  873.  ------------
  874. Category 33,  Topic 8
  875. Message 56        Thu Feb 04, 1993
  876. J.HUGHES23 [Jack ]           at 00:29 EST
  877.  
  878. Bob  --  After the snafu, the upgrade arrived today, Wed.  Thanks for the
  879. prompt service.  I'll get a check in the mail tomorrow, I hope, for the
  880. shipping fee.  --You didn't tell me about that, <G>.
  881.  
  882.                 [( )   Jack   ( )]
  883.  ------------
  884. Category 33,  Topic 8
  885. Message 57        Sat Feb 06, 1993
  886. D.SEBERG [IceBerg]           at 00:55 EST
  887.  
  888. Hello (to all you experienced programmers out there),
  889.  
  890. I have just recently started down the path of HSB-2.  I've taken upon myself
  891. the task of rewriting my personal libraries from the OTHER well known basic to
  892. HSB-2 as a learning experience.
  893.  
  894. I've kind of gotten stuck on how to clear the keyboard buffer using HSB-2.
  895. Using the OTHER basic I could clear the keyboard buffer with the following
  896. code:
  897.  
  898.  PROCEDURE buffer_clear
  899.    LPOKE XBIOS(14,1)+6,0
  900.  RETURN
  901.  
  902. I've tried various usages of:
  903.  
  904.  FUNCTION iorec&(BYVAL devno%)
  905.  
  906. but have met with no success.  I'd appreciate any guidance that anyone can
  907. throw my way.
  908.  
  909. Thanks,
  910.  
  911.          Dave
  912.  ------------
  913. Category 33,  Topic 8
  914. Message 58        Sat Feb 06, 1993
  915. D.SEBERG [IceBerg]           at 01:37 EST
  916.  
  917. I think I've answered my own question from my previous post, although it's
  918. kind of hard to test this sub program outside of an actual application.
  919. Anyways, does this seem like the correct way to clear the keyboard buffer?
  920.  
  921.  
  922.  LIBRARY "xbios"
  923.  '
  924.  CALL buffer_clear
  925.  '
  926.  ' Sub Program to clear keyboard buffer
  927.  SUB buffer_clear
  928.    POKEL iorec&(1)+6,0
  929.  END SUB
  930.  
  931.  
  932. Thanks again for any insight.
  933.  
  934.          Dave
  935.  ------------
  936. Category 33,  Topic 8
  937. Message 59        Tue Feb 09, 1993
  938. HISOFT                       at 13:30 EST
  939.  
  940. IceBerg,
  941.  
  942. That's certainly the equivalent of your GFA program.
  943.  
  944.  
  945. Dave Nutkins, HiSoft.
  946.  ------------
  947. Category 33,  Topic 8
  948. Message 60        Thu Feb 11, 1993
  949. DRAGONWARE [Chris R.]        at 15:21 EST
  950.  
  951. I am presently doing a metafile utility and need to set
  952. vm_pagesize(handle,FNAME$) can I do this in hsb2?
  953.  
  954.  Chris
  955.  ------------
  956. Category 33,  Topic 8
  957. Message 61        Mon Feb 15, 1993
  958. HISOFT                       at 13:26 EST
  959.  
  960. Chris,
  961.  
  962. You need to do your own vm_pagesize call using the old ST BASIC  VDISYS calls.
  963. If it weren't for the fact that I'm in a mad panic  finishing off TruePaint,
  964. I'd do you some sample code.
  965.  
  966. Dave N.
  967.  
  968.  ------------
  969. Category 33,  Topic 8
  970. Message 62        Mon Feb 15, 1993
  971. DRAGONWARE [Chris R.]        at 15:26 EST
  972.  
  973. Thank You Dave that gives me a place to look and try
  974.  
  975.  ------------
  976. Category 33,  Topic 8
  977. Message 63        Thu Feb 18, 1993
  978. EXPLORER.5 [Robert Goff]     at 22:08 EST
  979.  
  980. This is about Hisoft Basic version 1.3, but I hope I can get an answer here
  981. anyway.
  982.  
  983. I wrote a short program to do some character translation in a 2.5 megabyte
  984. file. (Some field delimiters in a text file needed to be changed so that dbMan
  985. would recognize them.) Initially, I input the text in 10k chunks on the
  986. assumption that minimizing disk access would improve overall performance.
  987.  
  988. Then I noticed that the execution slowed down significantly as the translation
  989. loop worked through the 10k string. So I reduced the size of the chunks to
  990. 2.5k and improved overall performance by a factor of three (5 hrs processing
  991. time vs. 15 hrs.)
  992.  
  993. Here's the nut of the translation loop:
  994.  
  995.  i = 1
  996.  while i <= buf_len&
  997.     in_chr$ = mid$(in_buffer$, i, 1)
  998.     if in_chr$ = chr$(13) or in_chr$ = chr$(10) then
  999.        out_buffer$ = out_buffer$ + """" + chr$(13) + chr$(10) + """"
  1000.           if mid$(in_buffer$, i+1, 1) = chr$(10) then
  1001.              incr i
  1002.           end if
  1003.     elseif in_chr$ = "|" then
  1004.        out_buffer$ = out_buffer$ + """" + "," + """"
  1005.     else
  1006.        out_buffer$ = out_buffer$ + in_chr$
  1007.     end if
  1008.     incr i
  1009.  wend
  1010.  
  1011. Would you please tell me why reducing the size of in_buffer$ improved the
  1012. performance? I suspect that either mid$() or incr slow 'way down when the
  1013. numbers get big; which one? Is there a better way to accomplish this function?
  1014.  
  1015. Thanks.
  1016.  
  1017.  |) |
  1018.  |)O|)
  1019.  Robert Goff
  1020.  ------------
  1021. Category 33,  Topic 8
  1022. Message 64        Fri Feb 19, 1993
  1023. R.WATSON15 [Wayne Watson]    at 01:50 EST
  1024.  
  1025. Robert,
  1026.   MID$ is definately a time consumer. I have found that when dealing with long
  1027. strings, it is better to access the information directly from memory than
  1028. using MID$. Also, if you can get away from building up the string before
  1029. outputting it, it will also save you some time.
  1030.  
  1031.   I am not sure why it slows dowm after it gets into the string. Other
  1032. languages do this also. The test I did showed a slow down by direct access
  1033. also. Using direct access mode, you could increase the string to about 5K and
  1034. still come out way ahead. The test I did came up with a saving of .56 seconds
  1035. per 2.5K block.
  1036.  
  1037.   The best thing (with a file this large) would to either BLOAD it all into a
  1038. buffer allocated with MALLOC (if possible) or read it into a buffer using
  1039. FNfread& and then convert it using the direct way. You could also copy info in
  1040. blocks from the buffer to the string if need be.
  1041.  
  1042.   Time consuming items are, using MID$, building a string up, reading the file
  1043. using INPUT and writing the file using PRINT. Also, if every line does not
  1044. contain a CHR$(13) and/or CHR$(10), then you could check the string to see if
  1045. it contains those character first by using INSTR (IF INSTR(in_chr$, CHR$(13))
  1046. or INSTR(in_chr$, CHR$(10)) THEN..)
  1047.  
  1048.   Now, what I mean by direct mode is you read the info in the string directly
  1049. from the memory location of each character in the string. When you do this,
  1050. then the characters are numbers instead of letters. You would have to convert
  1051. the numbers back to characters using CHR$(x). This may sound like it takes
  1052. more time but, it doesn't. Also, you have to start at the location returned by
  1053. SADD(). You could also do away with in_chr$. Example:
  1054.  
  1055.   i = 0
  1056.   while i <= buf_len&
  1057.     IF PEEKB(SADD(in_buffer$)+i)=13 or PEEKB(SADD(in_buffer$)+i)=10 THEN
  1058.       out_buffer$ = out_buffer$ + """" + CHR$(13) + CHR$(10) + """"
  1059.       IF PEEKB(SADD(in_buffer$)+i+1) = 10 THEN
  1060.         INCR i
  1061.       END IF
  1062.     ELSEIF PEEKB(SADD(in_buffer$)+i) = 124
  1063.       out_buffer$ = out_buffer$ + """" + "," + """"
  1064.     ELSE
  1065.       out_buffer$ = out_buffer$ + CHR$(PEEKB(SADD(in_buffer$)+i))
  1066.     END IF
  1067.     INCR i
  1068.   WEND
  1069.  
  1070.   The reason I use SADD each time is because of the way strings move around, I
  1071. find it a lot safer to do it in the command. It may take a small amount of
  1072. extra time but, it is safer. With you building up a string during the loop,
  1073. there is a chance that in_buffer$ would get moved.
  1074.  
  1075.   I am sure there are other tricks and I know a few more but, I don't know the
  1076. full situation. Sorry for the length of the response but, I kinda got carried
  1077. away.
  1078.  
  1079.  ------------
  1080. Category 33,  Topic 8
  1081. Message 65        Sat Feb 20, 1993
  1082. EXPLORER.5 [Robert Goff]     at 21:55 EST
  1083.  
  1084. Wayne, thanks, that's exactly the kind of answer I was looking for.
  1085.  
  1086. I understand accessing the characters directly in memory, and I could even see
  1087. loading the input directly into a static mmalloc'd memory buffer. How would I
  1088. "get away from building up the string before outputting it"? By writing the
  1089. translated characters to a different memory block? They can't just be
  1090. transposed in place.
  1091.  
  1092. Hmm. Copy info in blocks from the input to the output -- There's an idea.
  1093.  
  1094. Too bad this was pretty much a one-shot utility -- I probably won't need it
  1095. again for a _long_ time, so I probably won't take the time to improve and
  1096. test. But I'll save this message with the source code, and if I do need it
  1097. again...
  1098.  
  1099.  Thanks,
  1100.  |) |
  1101.  |)O|)
  1102.  Robert Goff
  1103.  ------------
  1104. Category 33,  Topic 8
  1105. Message 66        Sun Feb 21, 1993
  1106. CBARRON                      at 01:36 EST
  1107.  
  1108.   Use of 'pointers' to the static arrays (aren't arrays of integers statically
  1109. allocated anymore) and updating them as you go along is another 'speed' hint.
  1110. It wont matter if you store the buffer in an int array if all accesses are of
  1111. the form  x= peekb(pointer&)
  1112.  
  1113.     x = peekb(pointer&):incr pointer&: incr bytes_read
  1114.     if bytes_read = too_many then goto get_new_block
  1115.     if  x=13 or x = 10 then
  1116.        if x = 10 then
  1117.            incr pointer&
  1118.        endif
  1119.        pokeb out_pointer&, 34:incr out_pointer&
  1120.        pokeb out_pointer&, 10:incr out_pointer&
  1121.        pokeb out_pointer&, 34:incr out_pointer&
  1122.     etc...
  1123.  
  1124.  ------------
  1125. Category 33,  Topic 8
  1126. Message 67        Mon Feb 22, 1993
  1127. HISOFT                       at 13:29 EST
  1128.  
  1129. Here's an example of a metafile sub opcode binding using VDISYS defint a-z
  1130.  
  1131.  library "gemvdi"
  1132.  
  1133. vm_pagesize 200,300
  1134.   sub vm_pagesize(byval page_width,byval page_height)
  1135.  pokew intin,0   'sub-op_code for vm_pagesize
  1136.  pokew intin+2,page_width
  1137.  pokew intin+4,page_height
  1138.  pokew contrl,5
  1139.  pokew contrl+2,0
  1140.  pokew contrl+6,3
  1141.  pokew contrl+10,99
  1142.  vdisys 1 end sub
  1143.  
  1144. Dave Nutkins, HiSoft.
  1145.  
  1146.  ------------
  1147. Category 33,  Topic 8
  1148. Message 68        Mon Feb 22, 1993
  1149. HISOFT                       at 13:29 EST
  1150.  
  1151. Robert,
  1152.  
  1153. MID$ isn't that slow in itself and if you aer selecting a single  character it
  1154. takes the same time regardless of the size of the  sting. Your original
  1155. program is generating a lot of temporay strings  and hence a lot of garbage.
  1156. You are also creating a lot of  garbage as you fill up your output string; I
  1157. guess that with a  smaller input buffer you are getting fewer garbage collects
  1158. and  thus its going much quicker. To avoid generating as much garbage tou can
  1159. allocate the output  buffer to be a fixed size and then use
  1160. MID$(out_buffer$,j)=in_chr$ over whatever to store your strings in the output
  1161. buffer without  generating termporary strings. Wayne's method has successfully
  1162. removed the garbage that your  input was generating. It is essential that you
  1163. use SADD rather  than storing the address as this will move when a garbage
  1164. collect occurs.
  1165.  
  1166. Dave Nutkins, HiSoft. .
  1167.  
  1168.  
  1169.  ------------
  1170. Category 33,  Topic 8
  1171. Message 69        Tue Feb 23, 1993
  1172. EXPLORER.5 [Robert Goff]     at 21:59 EST
  1173.  
  1174. Ah, thanks, Dave. I didn't think about the memory management that must be
  1175. going on as the run-time dynamically allocates the output string.
  1176.  
  1177. Can I allocate the output buffer ahead of time and still treat it as a string?
  1178. Something like output$ = space(1024)?
  1179.  
  1180.  |) |
  1181.  |)O|)
  1182.  Robert Goff
  1183.  ------------
  1184. Category 33,  Topic 8
  1185. Message 70        Thu Feb 25, 1993
  1186. HISOFT                       at 13:24 EST
  1187.  
  1188. Robert
  1189.  
  1190. Thats precisely the technique that the BASIC compiler itself uses.
  1191.  
  1192. Dave N.
  1193.  ------------
  1194. Category 33,  Topic 8
  1195. Message 71        Tue Mar 02, 1993
  1196. EXPLORER.5 [Robert Goff]     at 00:57 EST
  1197.  
  1198. Is there any way using print statements to get a status number to overwrite
  1199. itself? I want to show progress through a file, so I'm printing file positions
  1200. on the screen at intervals. The only problem is that each number prints on a
  1201. new line and eventually the screen starts scrolling. I'm using the ";" at the
  1202. end of the print statement, but I can't get the cursor back to the beginning
  1203. of the line without causing a linefeed. Any ideas?
  1204.  
  1205.  |) |
  1206.  |)O|)
  1207.  Robert Goff
  1208.  ------------
  1209. Category 33,  Topic 8
  1210. Message 72        Tue Mar 02, 1993
  1211. R.WATSON15 [Wayne Watson]    at 01:30 EST
  1212.  
  1213. Robert,
  1214.   Try using the LOCATE command.
  1215.  
  1216.  ------------
  1217. Category 33,  Topic 8
  1218. Message 73        Tue Mar 02, 1993
  1219. NTACTONE [Ron Hunter]        at 05:14 EST
  1220.  
  1221. Robert,
  1222.    Sure there are lots of ways to do the positioning.  Look at things
  1223.  like Position or Locate, or just store the length of the number you
  1224.  are printing and then do that many backspaces before printing the
  1225.  next one...  That looks pretty good.
  1226.  
  1227.  
  1228.  ------------
  1229. Category 33,  Topic 8
  1230. Message 74        Wed Mar 03, 1993
  1231. EXPLORER.5 [Robert Goff]     at 01:37 EST
  1232.  
  1233. I tried the backspace trick; it didn't work. I'll try locate, thanks.
  1234.  
  1235.  |) |
  1236.  |)O|)
  1237.  Robert Goff
  1238.  ------------
  1239. Category 33,  Topic 8
  1240. Message 75        Wed Mar 03, 1993
  1241. DRAGONWARE [Chris R.]        at 20:13 EST
  1242.  
  1243. Robert ..
  1244.  Make a RSC that you can place the text in and use a form that is  updated by
  1245. a setptext and a redraw that looks great if you need demo code look at the
  1246. scroll demo i uploaded the object draw routines will work if you remove the
  1247. Form DO command
  1248.  
  1249.  
  1250.  Chris
  1251.  ------------
  1252. Category 33,  Topic 8
  1253. Message 76        Sun Mar 28, 1993
  1254. J.KRZYSZTOW [JEFFREY]        at 11:29 EST
  1255.  
  1256. I have an issue of Atari ST Review that has v1.xxx of HiSoft BASIC that says I
  1257. can upgrade to version 2 by sending 49.95 pounds.  Is there anyway I can get
  1258. this upgrade through Oregon Research?  If so, please tell me how.  I would
  1259. really like to be able to get version 2.
  1260.  
  1261. Thanks Jeffrey
  1262.  ------------
  1263. Category 33,  Topic 8
  1264. Message 77        Tue Apr 06, 1993
  1265. ORA.TECH                     at 01:05 EDT
  1266.  
  1267. Yes you can upgrade to HS Basic 2 from the magazine version by sending the
  1268. magazine disk and $80 to:
  1269.  
  1270. Oregon Research Associates 16200 SW Pacific Hwy Suite 162 Tigard, OR 97224
  1271.  
  1272.  
  1273. Best regards,
  1274.  
  1275. Bob@ORA
  1276.  ------------
  1277. Category 33,  Topic 8
  1278. Message 78        Wed Apr 07, 1993
  1279. DRAGONWARE [Chris R.]        at 18:39 EDT
  1280.  
  1281. Has anyone made a IMG->MAC routine that they may want to share??
  1282.  
  1283.  Chris Roberts
  1284.  ------------
  1285. Category 33,  Topic 8
  1286. Message 79        Thu Apr 08, 1993
  1287. DHAMM [DAVE HAMM]            at 22:58 EDT
  1288.  
  1289.   Question can I upgrade from HiSoft Basic Professional? I have the Michtron
  1290. version 1.23
  1291.  
  1292.    Dave Hamm
  1293.  
  1294.  
  1295.  ------------
  1296. Category 33,  Topic 8
  1297. Message 80        Fri Apr 09, 1993
  1298. ORA.TECH                     at 22:01 EDT
  1299.  
  1300. Dave,
  1301.  
  1302. Yes you can.  Just send your original disk and $69+$5 S&H to:
  1303.  
  1304. Oregon Research 16200 S.W. Pacific Hwy., Suite 162 Tigard, OR 97224
  1305.  
  1306. to receive your upgrade from HiSoft Basic Professional to HS Basic 2. The
  1307. upgrade includes the entire package with 3 new disks and 2 manuals with over
  1308. 800 pages of documentation.
  1309.  
  1310. Best regards,
  1311.  
  1312. Bob Luneski
  1313.  ------------
  1314. Category 33,  Topic 8
  1315. Message 81        Sun Apr 11, 1993
  1316. DANNY.M [Yooperman]          at 11:31 EDT
  1317.  
  1318. I seem to recall an article in one of the British magazines of several months
  1319. back announcing the arrival of HS BASIC 2 (HSB2) as saying that it would be
  1320. packaged with a very comprehensive manual that acutally taught HSB2.  Is that
  1321. true?  If so, does your generous upgrade offer extend to registered owerns of
  1322. HS BASIC that was marketed by MichTron?
  1323.  ------------
  1324. Category 33,  Topic 8
  1325. Message 82        Sun Apr 11, 1993
  1326. EXPLORER.5 [Robert Goff]     at 17:13 EDT
  1327.  
  1328. Just to refresh some of our memories, what are the new features in version 2
  1329. that make it worth seventy bucks?
  1330.  
  1331.  |) |
  1332.  |)O|)
  1333.  Robert Goff
  1334.  ------------
  1335. Category 33,  Topic 8
  1336. Message 83        Sun Apr 11, 1993
  1337. J.HUGHES23 [Jack ]           at 20:15 EDT
  1338.  
  1339. Dave N  --  While I shall freely admit that I haven't RTFM from cover to cover
  1340. would you pls help on this problem?
  1341.  
  1342.         To wit:  I have a program that is to save numbers in a
  1343.         sequential fashion via:
  1344.                 for i=1 to n
  1345.                 input "",S(i)
  1346.                 next
  1347.         and then later store that data, along with other.
  1348.  
  1349. This worked OK with HiSoft Pro, but after conversion to HS2 (really all I had
  1350. to do was take out the "FN's" from FNform_alert) the program does not want to
  1351. work.  Another prg without multiple inputs works fine under HS2.
  1352.  
  1353. Example:  the number 65 is stored as "5.330973694061278D-315", which of
  1354. course, the rest of my program does not want to deal with. [ Probably a good
  1355. move! :-) ]
  1356.  
  1357. Would you point me in the rite direction for the answer?
  1358.  
  1359. Also, when I do an Alt-X to run from HS2, it goes thru a new compilation, even
  1360. tho it has already been compiled, _and then_ does not run!  Obviously my lack
  1361. of reading time is hurting... :-)
  1362.  
  1363.                 [( )   Jack   ( )]
  1364.  
  1365.  
  1366.  ------------
  1367. Category 33,  Topic 8
  1368. Message 84        Sat Jul 03, 1993
  1369. J.HUGHES23 [Jack ]           at 20:58 EDT
  1370.  
  1371. I'm _still_ waiting for a reply to my question posted last April!
  1372.                 [( )   Jack   ( )]
  1373.  ------------
  1374. Category 33,  Topic 8
  1375. Message 85        Sat Jul 03, 1993
  1376. ORA [Bob]                    at 22:51 EDT
  1377.  
  1378. It most certainly was eaten by Aladin by now, could you repost to jog our
  1379. collective memories :-)
  1380.  
  1381. Best regards,
  1382.  
  1383. Bob@ORA
  1384.  ------------
  1385. Category 33,  Topic 8
  1386. Message 86        Sun Jul 04, 1993
  1387. J.HUGHES23 [Jack ]           at 19:02 EDT
  1388.  
  1389. Bob - Its MSG #83 and its still there, just checked!  If necessary I'll
  1390. repost, but it ain't all that short and rather not.
  1391.                 [( )   Jack   ( )]
  1392.  ------------
  1393. Category 33,  Topic 8
  1394. Message 87        Mon Jul 05, 1993
  1395. DHAMM [DAVE HAMM]            at 22:40 EDT
  1396.  
  1397.   Help!  I'm trying to use the tutorial in the manuel.
  1398.  The hgt1.bas example, I'm getting a Error:108 Function or sub-program in
  1399. Library " Gemaes at line 21 in file G:\hbasic\hgt\toolbox.bas  Can anyone tell
  1400. me where to start looking for the problem.
  1401.  
  1402.  I'm using HiSoft Basic TT  2.02 24 March 92
  1403.  
  1404.  Dave Hamm
  1405.  
  1406.  ------------
  1407. Category 33,  Topic 8
  1408. Message 88        Wed Jul 07, 1993
  1409. HISOFT                       at 13:18 EDT
  1410.  
  1411. Jack,
  1412.  
  1413. Are you using a pre-2.02 version of the TT compiler? That might explain the
  1414. INPUT problem.
  1415.  
  1416. If you have compile to disk selected the editor won't run your program on Alt-
  1417. X it'll just compile it.
  1418.  
  1419. DAve Nutkins, HiSoft. P.S. Sorry for the delay - I overlooked your original
  1420. message.
  1421.  ------------
  1422. Category 33,  Topic 8
  1423. Message 89        Wed Jul 07, 1993
  1424. HISOFT                       at 13:19 EDT
  1425.  
  1426. Dave Hamm,
  1427.  
  1428. That error 108 is function or sub-program redefined in the  library. It sounds
  1429. like some how you've got two LIBRARY  "GEMAES" statements getting parsed.
  1430. Perhaps you have the  library in a pre-tokenised file and you are including
  1431. it.
  1432.  
  1433. Dave Nutkins, HiSoft.
  1434.  
  1435.  ------------
  1436. Category 33,  Topic 8
  1437. Message 90        Wed Jul 07, 1993
  1438. J.HUGHES23 [Jack ]           at 23:45 EDT
  1439.  
  1440. Dave --  To the best of knowledge I'm using everything that came with my
  1441. upgrade to v2.?...  As to the compile to disk part ??  What I did is what I
  1442. had always done, but I'll check it out tomorrow.  Stay tuned.  But even so,
  1443. why the change? If it is?  It worked fine before!!
  1444.  
  1445. And I do NOT have a TT, just an old 1040STf, with a few minor upgrades!!!! ie
  1446. TOS 1.4 and 2.5M ram.
  1447.  
  1448.                 [( )   Jack   ( )]
  1449.  ------------
  1450. Category 33,  Topic 8
  1451. Message 91        Thu Jul 08, 1993
  1452. DHAMM [DAVE HAMM]            at 02:41 EDT
  1453.  
  1454.   Thank you, thats exactly what I was trying to do.
  1455.  
  1456.  Dave Hamm
  1457.  
  1458.  ------------
  1459. Category 33,  Topic 8
  1460. Message 92        Fri Jul 09, 1993
  1461. HISOFT                       at 13:15 EDT
  1462.  
  1463. Jack,
  1464.  
  1465. Oh well that can't be the problem with your program not working then.  Could
  1466. you cut down your program to something small that shos the problem  and send
  1467. it to me via GEnie mail and I'll investigate.
  1468.  
  1469. Dave Nutkins, HiSoft.
  1470.  
  1471.  ------------
  1472. Category 33,  Topic 8
  1473. Message 93        Sat Jul 10, 1993
  1474. J.HUGHES23 [Jack ]           at 20:47 EDT
  1475.  
  1476. Dave  --  At this point I am extremely perplexed, confused etc. Prior to
  1477. trying to cut down the program to the problem area I re-compiled, just to make
  1478. sure what was what.
  1479.  
  1480. First, I think I owe you and Bob an apology for causing much ado about
  1481. nothing.
  1482.  
  1483. Second, what I said happened in my msg #83 did in fact occur, last April.
  1484.  
  1485. Third, I can't get it to reproduce.  :-)  Maybe what I should have done is
  1486. rerun the program before doing a re-compile.  Unfortunately I did not and
  1487. apparently it over-writes if there is a PRG of the same name in the same file
  1488. area.  The _new_ re-compiled PRG performs as expected!!  If memory serves I
  1489. have another program which exhibited similiar problems.  I will pursue that
  1490. thread.  Maybe all it takes is a re-compile!?
  1491.  
  1492. Fourth, I tried to compile the revised HS2 version with the HS Pro compiler
  1493. but it did not want to do the job.  Undoubtedly due to the deleted "FN's" in
  1494. form_alert.
  1495.  
  1496. Fifth, there are only two bytes difference in the two versions.  With HS Pro -
  1497. 31873 bytes, with HS v2.02 31871 bytes.
  1498.  
  1499. Again, my apologies.                [( )   Jack   ( )]
  1500.  
  1501.  
  1502.  
  1503.  ------------
  1504. Category 33,  Topic 8
  1505. Message 94        Sun Jul 11, 1993
  1506. J.HUGHES23 [Jack ]           at 16:27 EDT
  1507.  
  1508. Dave  --  Back to square one.  I do have a problem!  Just picked the wrong
  1509. program to look at.  Reducing it to e-mailable length may prove to be
  1510. difficult.
  1511.                 [( )   Jack   ( )]
  1512.  ------------
  1513. Category 33,  Topic 8
  1514. Message 95        Sun Jul 11, 1993
  1515. J.HUGHES23 [Jack ]           at 19:31 EDT
  1516.  
  1517. Dave --  In the process of reducing the problem to a managable size I wondered
  1518. about _"Defdbl a-z"_ ...
  1519.  
  1520. On a hunch I disabled it.  And wouldn't you know, it save the input numbers.
  1521. Defdbl worked just fine with HS Pro.  And works just fine in HS 2.02 with the
  1522. PRG I _thought_ was the problem.  But with the one at hand, it records numbers
  1523. which look like they are Log base "e" in origin.
  1524.  
  1525. To obtain the accuracy desired I determined that Defdbl was necessary.  I
  1526. shall pursue this and try and find out if leaving it out entirely works or
  1527. what.  Some of the desired saves are calculated results and may/maynot come
  1528. right!
  1529.  
  1530. Any thoughts?                [( )   Jack   ( )]
  1531.  
  1532. ps:  Did get it a small (500 b) size.  I'll e-mail if you like. <J>
  1533.  ------------
  1534. Category 33,  Topic 8
  1535. Message 96        Tue Jul 13, 1993
  1536. HISOFT                       at 13:25 EDT
  1537.  
  1538. Jack,
  1539.  
  1540. I can only think of two things: 1.You had something very strange in your AUTO
  1541. folder or DA  when you tried before. 2. Your machine's memory was a bit dodgy
  1542. but its O.K. now.
  1543.  
  1544. Dave N.
  1545.  ------------
  1546. Category 33,  Topic 8
  1547. Message 97        Fri Jul 16, 1993
  1548. J.HUGHES23 [Jack ]           at 23:43 EDT
  1549.  
  1550. Dave  --  Nothing else seems to be bothered by the AUTO file etc, including at
  1551. least one other HSPro conversion.  Same comment may also apply to the memory.
  1552.  
  1553. I used a global "defdbl a-z" instruction.  Changing to the specific variables
  1554. had no effect on the problem.  I will e-mail what I have isolated the problem
  1555. to if you'd like.  Or alternately via pigeon mail.  The latter might be
  1556. better, as I could perhaps include more info.
  1557.  
  1558. The prg appears to give correct results w/o _any_ definition of numeric
  1559. accuracy.  Though I did read in the manual, I think, that defsgl (that's
  1560. single) was standard.  Is that correct?
  1561.  
  1562. Also the time "delay" does not appear to work any more.  Can not fimd it in
  1563. either manual and do not remember where I found it.  The ? is moot, as I have
  1564. made a change to the prg which I like better.  Just curious.
  1565.  
  1566.                 [( )   Jack   ( )]
  1567.  
  1568.  ------------
  1569. Category 33,  Topic 8
  1570. Message 98        Sun Jul 25, 1993
  1571. JWC-OEO [Jon]                at 19:27 EDT
  1572.  
  1573.   ORA,
  1574.  
  1575. Your May/June news letter mentioned that there was an upgrade to HiSoft Basic
  1576. 2 planned that would include Falcon specific documentation.  Has this been
  1577. released yet?
  1578.  
  1579. Jon
  1580.  ------------
  1581. Category 33,  Topic 8
  1582. Message 99        Wed Jul 28, 1993
  1583. ORA [Bob]                    at 11:55 EDT
  1584.  
  1585. The Falcon language version upgrades are expected anytime now,
  1586.  
  1587. Best regards,
  1588.  
  1589. Bob@ORA
  1590.  ------------
  1591. Category 33,  Topic 8
  1592. Message 100       Sat Sep 18, 1993
  1593. J.KOSIOREK1 [Jack.K]         at 20:54 EDT
  1594.  
  1595. Any word on the HiSoft BASIC 2 upgrade? You know the one with  FALCON and
  1596. MultiTOS stuff.
  1597.  
  1598. Waiting ..... still waiting.
  1599.  ------------
  1600. Category 33,  Topic 8
  1601. Message 101       Tue Sep 21, 1993
  1602. HISOFT                       at 13:17 EDT
  1603.  
  1604. The new version of HiSoft BASIC should arrive late this week  here in England
  1605. but it'll take a while to get across the pond.
  1606.  
  1607. Dave Nutkins, HiSoft.
  1608.  ------------
  1609. Category 33,  Topic 8
  1610. Message 102       Wed Jan 05, 1994
  1611. W.JAMES-STEI [Wayne]         at 03:53 EST
  1612.  
  1613.   Anyone get their HBASIC 2.10 upgrade yet? I _hope_ mine's on the way.
  1614.  
  1615.     Wayne - Wednesday, January 05, 1994 - 00:55 a.m. PST
  1616.  ------------
  1617. Category 33,  Topic 8
  1618. Message 103       Mon Jan 10, 1994
  1619. R.QUEZADA [B-B-Q]            at 22:06 EST
  1620.  
  1621. Where do you get the upgrade to 2.10?  How much is it?  The basic works great
  1622. on a Falcon030, but I would like to compile with 68030 instructions. Anyone
  1623. know if the new upgrade will do that?  I know the TT interpreter that came
  1624. with my 2.0 does that, but it requires a co-processor.
  1625.  ------------
  1626. Category 33,  Topic 8
  1627. Message 104       Wed Jan 12, 1994
  1628. HISOFT                       at 13:16 EST
  1629.  
  1630. I'll leave details of the upgrade pricing to Robb.
  1631.  
  1632. HiSoft BASIC 2.10 doesn't have a "68030 with no fpu option". The  improvements
  1633. in the code generated would be quite minor compared  with the huge improvement
  1634. that the FPU version gives on such  systems. The biggest "win" would be in 32
  1635. bit divides - but if  your program's speed is dependent on one of those you
  1636. probably  ought to look at recoding the algorithm.
  1637.  
  1638. There's a whole lot of other stuff in the upgrade though!
  1639.  
  1640. Dave Nutkins, HiSoft.
  1641.  ------------
  1642. Category 33,  Topic 8
  1643. Message 105       Thu Jan 13, 1994
  1644. V.VALENTI                    at 00:48 EST
  1645.  
  1646. Could you give me some benchmarks for HiSoft Basic 2.10.  I am currently using
  1647. GFA, but would like to get the most of the Falcon without having to always
  1648. write my own routines.  Is the speed comparable?
  1649.  
  1650. Vince
  1651.  ------------
  1652. Category 33,  Topic 8
  1653. Message 106       Thu Jan 13, 1994
  1654. ORA [Bob]                    at 11:25 EST
  1655.  
  1656. Upgrades are available through us at $39 + s/h and proof of ownership.  V.
  1657. 2.10 is fully Falcon compatible and enhanced, and the upgrade comes with a
  1658. manual addendum.
  1659.  
  1660. Robb @ ORA
  1661.  
  1662.  ------------
  1663. Category 33,  Topic 8
  1664. Message 107       Thu Jan 13, 1994
  1665. HEAD.TRIP [Wayne]            at 21:50 EST
  1666.  
  1667.  
  1668.   Well, got my Hi-Soft BASIC 2.10 update today, as well as Lattice 5.6.  Nice
  1669. job on both counts! The "Modern Atari Systems Software" book is excellent, and
  1670. the fact that each item is shown in HB2, LC5 and Devpac 3 makes it even
  1671. better. If you're using HB2 and have a newer Atari, you should really check
  1672. out this book. The 2.10 update also has quite a few new additions to the GEM
  1673. Toolbox, such as Speedo and MiNT support.
  1674.  
  1675. One thing I need to know more about is the GB function(?). I see it mentioned
  1676. in the M.A.S.S. book, and I assume it's the Global Parameter Block. I can't
  1677. find it in either HBASIC manual index, though I see it in reserved words and a
  1678. small mention in the accessory appendix. I want to check if MultiTOS or Geneva
  1679. is running, and if so alter the applications name in the desk menu. I've done
  1680. it in Lattice, but not sure how in BASIC 2.
  1681.  
  1682. Thanks for any information.
  1683.  
  1684.  
  1685.   Now back to work.
  1686.  
  1687.   Wayne
  1688.  
  1689.  
  1690.  
  1691.  ------------
  1692. Category 33,  Topic 8
  1693. Message 108       Fri Jan 14, 1994
  1694. HISOFT                       at 13:18 EST
  1695.  
  1696. Vince,
  1697.  
  1698. Its a while since I've done any benchmarking of HiSoft BASIC vs  GFA - the
  1699. 'journalists' over here were making such stupid  comparisions that we stopped
  1700. quoting them.
  1701.  
  1702. Broadly you should fine the speed approximately the same - some  things will
  1703. be faster in HiSoft BASIC and some faster in GFA.
  1704.  
  1705. Dave Nutkins, HiSoft.
  1706.  
  1707.  ------------
  1708. Category 33,  Topic 8
  1709. Message 109       Fri Jan 14, 1994
  1710. HEAD.TRIP [Wayne]            at 17:47 EST
  1711.  
  1712. Vince,
  1713.  
  1714. I switched over to HI-Soft BASIC 2.10 from GFA for precisely the same reason
  1715. you want to. I wanted to get more out of my Falcon & I wanted support. I am
  1716. happy to say I have both with HI-Soft BASIC. I would really recommend that you
  1717. also pick up the book "Modern Atari System Software", which is also from Hi-
  1718. Soft and outlines every new system call in HI-Soft BASIC 2.10, Lattice 'C',
  1719. and Devpac 3. It also has loads of other useful information, such as the Style
  1720. Guide which outlines suggestions from Atari regarding a standard for user
  1721. interfaces. HI-Soft BASIC 2.10, with the GEM Toolbox, let's you whip out quick
  1722. utilities in record time - and they look great with a super interface. Having
  1723. Pop-ups, windowed objects, etc. is _very_ easy, or you can always go deeper
  1724. and do it yourself.  Another nice thing about HI-Soft BASIC 2.10 is that it is
  1725. very compatible with Microsoft BASIC, so there's loads of books out there that
  1726. you can buy that will be relevant. I use HI-Soft BASIC 2.10, and Lattice C as
  1727. well as other Hi-Soft/Oregon Research products and have to say the support is
  1728. excellent. Persons from Hi-Soft and Oregon Research are always available on
  1729. GEnie to answer questions. I was unsure of the switch to HI-Soft BASIC 2 from
  1730. GFA at first - I had become accustomed to using GFA to whip out my 'quickie'
  1731. programs - but once I got going I never looked back. Having a multi-window
  1732. editor, pre-tokenising, _support_ for new machines, etc. is a nice way to go!
  1733. :-)
  1734.  
  1735. I know I sound a little excited, but I just got my upgrades, along with the
  1736. M.A.S.S. book, and now I can really utilize all the new features of my Falcon.
  1737. BTW, I also highly recommend the book "The Atari Compendium". It has a lot of
  1738. very useful information in it.
  1739.  
  1740. See ya,
  1741.  
  1742. Wayne - Friday, January 14, 1994 - 02:41 p.m. PST
  1743.  
  1744.  ------------
  1745. Category 33,  Topic 8
  1746. Message 110       Fri Jan 14, 1994
  1747. R.WATSON15 [Wayne Watson]    at 21:54 EST
  1748.  
  1749.    The support from ORA & HISOFT is definately excellent.
  1750.  
  1751.  ------------
  1752. Category 33,  Topic 8
  1753. Message 111       Sat Jan 15, 1994
  1754. JRH [Roger]                  at 08:18 EST
  1755.  
  1756. Dave Nutkins,
  1757.  
  1758.  >There's a whole lot of other stuff in the upgrade though!
  1759.  
  1760. I have version 2.01, and was not planning to upgrade as I thought the only
  1761. change was to make HB2 Falcon compatible.  If that is not the case I would
  1762. probably upgrade, since I think it is the best Basic available, and have been
  1763. using it for several years now.  Could you give me an idea of what else has
  1764. been included.
  1765.  
  1766. My system is a TT030, 4/16 megs RAM, monochrome monitor.
  1767.  
  1768.  
  1769. Robb,
  1770.  
  1771. And what's this about the "Modern Atari Systems Software" book. Is it the
  1772. "manual addendum" that comes with the upgrade, or is it something that is
  1773. available separately?
  1774.  
  1775. Thanks,
  1776.  
  1777. Roger
  1778.  
  1779.  ------------
  1780. Category 33,  Topic 8
  1781. Message 112       Sat Jan 15, 1994
  1782. HEAD.TRIP [Wayne]            at 16:05 EST
  1783.  
  1784. Hi,
  1785.  
  1786. I'm having a small problem with the new AES_version function in Hi-Soft BASIC
  1787. 2.10 . I want to show the AES version and other machine information in my main
  1788. help box, but the value returned by:
  1789.  
  1790. aes=aes_version
  1791.  
  1792. is 832 on my Falcon. I put a constant value in aes to test the rest of the
  1793. routine (it puts the version in a F_TEXT in the dialog) and all works fine.
  1794. Is there a format to the AES version that I'm not aware of?
  1795.  
  1796. I also need to know about GB. I see it mentioned in the M.A.S.S. book as well
  1797. as a reserved word in Hi-Soft BASIC, but can't find it in the manual anywhere.
  1798. I looked at the way you got the AES version but still can't figure out how GB
  1799. is sorted out.
  1800.  
  1801. On another note - Hi-Soft BASIC 2.10 is great. I have been able to literally
  1802. 'whip up' a very nice looking MultiTOS friendly program in about 6 hours! I
  1803. spent more time in WERCS and planning on paper than coding it. The new
  1804. windowed dialogs, key shortcuts and other enhancements are very nice. I did
  1805. add the abilty to specify a default extension in FILESEL.BAS, though.
  1806.  
  1807. Any information on aes_version and also GB would be great!
  1808.  
  1809. Thanks in advance...
  1810.  
  1811. Wayne - Saturday, January 15, 1994 - 01:08 p.m. PST
  1812.  ------------
  1813. Category 33,  Topic 8
  1814. Message 113       Sat Jan 15, 1994
  1815. MIKE-ALLEN [NM~SysOp]        at 23:08 EST
  1816.  
  1817. Wayne,
  1818.  
  1819. 832 decimal is 340 Hex.  The AES version is stored in a packed BCD format. You
  1820. have AES version 3.40, I believe.
  1821.  
  1822.  
  1823.         Mike Allen
  1824.         ST HelpDesk~Sysop
  1825.  
  1826.         Written: 7:40 PM Mountain Time
  1827.                  Saturday, January 15, 1994
  1828.  
  1829.  
  1830.  
  1831.  ------------
  1832. Category 33,  Topic 8
  1833. Message 114       Sun Jan 16, 1994
  1834. HEAD.TRIP [Wayne]            at 00:11 EST
  1835.  
  1836. Has anyone translated the GFA / Geneva include file to Hi-Soft BASIC 2.10 yet?
  1837. I am working on it and it's not a big deal - but I hate reinventing the wheel!
  1838.  
  1839. Thanks in advance...
  1840.  
  1841. Wayne - Saturday, January 15, 1994 - 09:11 p.m. PST
  1842.  ------------
  1843. Category 33,  Topic 8
  1844. Message 115       Sun Jan 16, 1994
  1845. HEAD.TRIP [Wayne]            at 02:42 EST
  1846.  
  1847. Mike,
  1848.  
  1849. <blush> Ooohhhhhhhh...... I _get_ it. Thanks for the answer.
  1850.  
  1851. pssst - You know anything about the GB function?
  1852.  
  1853. Thanks,
  1854.  
  1855.  
  1856. Wayne - Saturday, January 15, 1994 - 11:07 p.m. PST
  1857.  ------------
  1858. Category 33,  Topic 8
  1859. Message 116       Sun Jan 16, 1994
  1860. MIKE-ALLEN [NM~SysOp]        at 04:20 EST
  1861.  
  1862. Wayne,
  1863.  
  1864. GB function?
  1865.  
  1866. I don't use Basic of any ilk.  My distaste goes back to MicroSoft Basic for
  1867. CP/M.  I switched to C and Pascal as soon as discovered them.  <hehe>
  1868.  
  1869. Actually the modern Basics are almost indistinguishable from Pascal anymore.
  1870.  
  1871. The only reason I knew the answer to the AES version number was because some
  1872. of us in the Programming RTC were writing programs to report various versions,
  1873. AES among them.  I wrote in assembly but some of the others wrote in C.  We
  1874. expected some GFA or HiSoft basic submissions, but none came in.  If you are
  1875. interested, check out cat3/top11 and/or drop into the RTC on the 1st and 3rd
  1876. Thursdays of each month at 10pm Eastern.  We have some very interesting (and
  1877. lively) discussions.  I know that I am learning a bunch.
  1878.  
  1879.         Mike Allen
  1880.         ST HelpDesk~Sysop
  1881.  
  1882.         Written: 2:16 AM Mountain Time
  1883.                  Sunday, January 16, 1994
  1884.  
  1885.  ------------
  1886. Category 33,  Topic 8
  1887. Message 117       Sun Jan 16, 1994
  1888. NTACTONE [Ron Hunter]        at 10:07 EST
  1889.  
  1890.  
  1891.  >Actually the modern Basics are almost indistinguishable from Pascal anymore.
  1892.  >
  1893.  >        Mike Allen
  1894.  >        ST HelpDesk~Sysop
  1895.  >----------
  1896.  
  1897.    Huh?  What version of Basic makes you code your application upside down,
  1898. and which version isolates you completely from the hardware? Basic and Pascal
  1899. are a LOT less similar than C and modern Basics.. Many things translate almost
  1900. directly from HiSoft and GFA Basic to C.
  1901.  
  1902.  ------------
  1903. Category 33,  Topic 8
  1904. Message 118       Sun Jan 16, 1994
  1905. MIKE-ALLEN [NM~SysOp]        at 17:06 EST
  1906.  
  1907. Ron,
  1908.  
  1909. Look at a pascal and a modern basic program.  I see PROCEDURES and FUNCTIONS
  1910. all over the place.  I see case insensitivity.  I see words (ENDIF, END,
  1911. BEGIN, etc.) instead of characters ({,}).
  1912.  
  1913.  
  1914. To be honest, I have always programmed 'up side down.'  Started this way with
  1915. interpreted languages which ran faster if the subroutines were at the
  1916. beginning of the code.  K&R seemed to use this standard in C.  [main(argc,
  1917. argv) always seemed to be the last thing in a prg.]  And, yes, pascal doesn't
  1918. allow forward references directly.
  1919.  
  1920. I still think modern Basic code looks more like pascal than anything else.
  1921.  
  1922.         Mike Allen
  1923.         ST HelpDesk~Sysop
  1924.  
  1925.         Written: 2:53 PM Mountain Time
  1926.                  Sunday, January 16, 1994
  1927.  
  1928.  ------------
  1929. Category 33,  Topic 8
  1930. Message 119       Sun Jan 16, 1994
  1931. NTACTONE [Ron Hunter]        at 19:05 EST
  1932.  
  1933. Mike,
  1934.    I guess it depends on who is writing it (Basic), whether it looks more like
  1935. C or Pascal, but the basic purpose of Pascal, and their goals are different.
  1936. Pascal was developed to teach use of ONE programming methodology, and to
  1937. isolate the programmer from the hardware, Basic was developed to allow non-
  1938. computer-science users to access the power of the computer.  Both languages
  1939. have far outgrown their original concepts, but they retain a different
  1940. orientation.. C, on the other hand was developed BY programmers, FOR
  1941. programmers, and you can get as close to the hardware as you want in it, and
  1942. it is CERTAINLY not for the non-programmer..
  1943.    Frankly, if I can't do it in Basic, I don't do it.
  1944.  
  1945.  ------------
  1946. Category 33,  Topic 8
  1947. Message 120       Sun Jan 16, 1994
  1948. HEAD.TRIP [Wayne]            at 22:27 EST
  1949.  
  1950. Mike,
  1951.  
  1952. Actually I was vague - GB isn't a function, but I think like a C data
  1953. structure of the Global Parameter Block (_AESglobal). I can check if the app
  1954. is running unter MultiTOS/Geneva and if so change it's name in the Desk menu,
  1955. etc. It's mentioned in 'Modern Atari Systems Software'.
  1956.  
  1957. I can see how you would dislike older BASICs. I use Lattice C and sometimes
  1958. DevPac 2 for things like CPXs or whatever, but some of my programs are quick
  1959. utilities that wouldn't be worth spending lots of time on. With Hi-Soft BASIC
  1960. 2.10 I was able to whip out an organiser for my Aladdin addresses in about 2
  1961. days (7 hours).  It has dialog boxes in windows, keyboard and dialog
  1962. shortcuts, MultiTOS compatible, etc. For things like that you cannot beat a
  1963. modern BASIC. Also Hi-Soft BASIC 2.10 has access to DSP and other parts of the
  1964. Falcon, MultiTOS, etc. just like Lattice. I'm a big fan of easy to use
  1965. languages on the Atari range because the way it's going I feel that users will
  1966. have to supply a lot of the software for the machine - so anything that makes
  1967. that possible is good with me.
  1968.  
  1969. See Ya!
  1970.  
  1971. BTW, I'll check out the Topic and also work up a 'System Check' routine in Hi-
  1972. Soft BASIC 2.10  - as soon as I have time! <g>
  1973.  
  1974. Wayne - Saturday, January 16, 1993 - 07:16 p.m. PST
  1975.  
  1976.  
  1977.  ------------
  1978. Category 33,  Topic 8
  1979. Message 121       Mon Jan 17, 1994
  1980. HEAD.TRIP [Wayne]            at 00:20 EST
  1981.  
  1982. Hey,
  1983.  
  1984. I figured out my GB question. If you want to find out if the system is in
  1985. multitasking mode do this:
  1986.  
  1987. number_apps=PEEKW(PEEKL(GB+4)+2) ' number_apps =  1 Single Tasking '
  1988. number_apps = -1 Multi Tasking
  1989.  
  1990. Then you can use:
  1991.  
  1992. id%=PEEKW(PEEKL(GB+4)+4) result=menu_register% BYVAL id%,BYVAL name$
  1993.  
  1994.  
  1995. With name$ being the name you want for your applicatio in the Desk menu under
  1996. MultiTOS or Geneva.
  1997.  
  1998.  
  1999. I'm whipping up a quickie 'Versions' program to show how to let users know
  2000. system software versions. This could be good for bug reports etc. when you
  2001. release your software. I need to know anyway, so I'll share it.
  2002.  
  2003. See Ya!
  2004.  
  2005. Wayne - Saturday, January 16, 1993 - 09:23 p.m. PST
  2006.  
  2007.  ------------
  2008. Category 33,  Topic 8
  2009. Message 122       Mon Jan 17, 1994
  2010. HEAD.TRIP [Wayne]            at 02:08 EST
  2011.  
  2012. Ummmm... this is embarrassing. Could anyone remind me how to convert HEX to
  2013. DECIMAL in Hi-Soft BASIC? I _know_ it's staring at me, but I haven't done any
  2014. programming for about 6-7 months...
  2015.  
  2016. Also, I need a person each with these machines: STe Mega Mega STe TT
  2017.  
  2018. I plan to share the 'system check' code but I want to check that it works
  2019. first. Of course it started real simple, but now I want ad _all_ the cookies,
  2020. etc... That 'feature creature' is sneakin' upon me! <g>
  2021.  
  2022. Also, the Multi tasking code could have been simpler (I'm posting on one
  2023. machine while coding on another, so I revised right after the post (of
  2024. course!)).
  2025.  
  2026. IF PEEKW(PEEKL(GB+4)+2) = -1 THEN
  2027.       ' Then Multi Tasking (Geneva/MultiTOS) ELSE
  2028.       ' Then Single Tasking END IF
  2029.  
  2030. A CPU check would be:
  2031.  
  2032. IF GETCOOKIE("_CPU",cpu&) THEN
  2033.         PRINT "CPU is a ";68000+cpu& END IF
  2034.  
  2035.  
  2036. Thanks,
  2037.  
  2038. Wayne - Saturday, January 16, 1993 - 11:10 p.m. PST
  2039.  
  2040.  
  2041.  ------------
  2042. Category 33,  Topic 8
  2043. Message 123       Mon Jan 17, 1994
  2044. HEAD.TRIP [Wayne]            at 02:51 EST
  2045.  
  2046. Me _again_..... don't roll your eyes! OK, where do I look for the TOS version?
  2047. I got yer cookies, I got yer AES, I got yer GEMDOS, CPU and machine... All I
  2048. need is TOS version and it's done. <help...>
  2049.  
  2050. Wayne - Saturday, January 16, 1993 - 11:48 p.m. PST
  2051.  
  2052.  ------------
  2053. Category 33,  Topic 8
  2054. Message 124       Mon Jan 17, 1994
  2055. HEAD.TRIP [Wayne]            at 10:50 EST
  2056.  
  2057. Well... I guess I don't need the answers too fast now - my studio is a mess
  2058. from the earthquake... It was pretty bad, I live in Los Angeles...
  2059.  
  2060. Wayne - Monday, January 17, 1994 - 07:50 a.m. PST
  2061.  
  2062.  
  2063.  
  2064.  ------------
  2065. Category 33,  Topic 8
  2066. Message 125       Mon Jan 17, 1994
  2067. HISOFT                       at 13:21 EST
  2068.  
  2069. Wayne,
  2070.  
  2071. The GB function simply returns the address of the global array that is used to
  2072.  call the AES. It has actually been in HiSoft BASIC since version 1. In fact
  2073. it is  one  of the ST BASIC compatibility functions. With ST BASIC there
  2074. weren't  named access to gem calls you had to fill in the GEM arrays yourself.
  2075. To  discourage people from using these we left them out of the HiSoft BASIC 1
  2076. manual - I guess we should have included them in the HiSoft BASIC 2  manuals.
  2077.  
  2078. So to check out the version number of the AES that you are running you can
  2079. use
  2080.   aes_version=PEEKW(PEEKL(GB+4))
  2081.  
  2082. and to see if you are running a version of the AES that supports potentially
  2083. infinite numbers of applications use
  2084.   IF PEEKW(PEEKL(GB+4)+2)= -1 THEN ...
  2085.  
  2086. Dave Nutkins, HiSoft.
  2087.  
  2088.  ------------
  2089. Category 33,  Topic 8
  2090. Message 126       Mon Jan 17, 1994
  2091. HEAD.TRIP [Wayne]            at 19:08 EST
  2092.  
  2093. Ok, put all the books back up, etc. after the earthquake and now I've dug this
  2094. sucker out again and am coding onward. So, I have the TOS Version, etc.
  2095.  
  2096. CONST sysbase%=&h4F2
  2097.  
  2098. tos_version=SPEEKW(SPEEKW(sysbase%)+&h2) os_date=SPEEKL(SPEEKW(sysbase%)+&h18)
  2099. gemdos_date=SPEEKW(SPEEKW(sysbase%)+&h1E)
  2100.  
  2101.  
  2102. It was bugging me... <g>
  2103.  
  2104. I feel very stoopid but I still don't know how to convert hex into decimal.
  2105. The TOS Version has the major revision in the HIGH BYTE & minor in the LOW
  2106. BYTE. I put the number in my Pro Calc and know it's right but it's hex and I
  2107. want to display it in decimal. Otherwise I've got a simple little program
  2108. shell with a 'Help' screen and 'System' screen (actually windowed dialog
  2109. boxes) to share.
  2110.  
  2111. See Ya!
  2112.  
  2113. Wow! - we just had a BIG aftershock! The room was swirling... very weird... I
  2114. no likeeee this, no sirreeeee
  2115.  
  2116. Wayne 1/17/1994
  2117.  ------------
  2118. Category 33,  Topic 8
  2119. Message 127       Mon Jan 17, 1994
  2120. HEAD.TRIP [Wayne]            at 21:26 EST
  2121.  
  2122.  >The GB function simply returns the address of the global array that is used
  2123. to
  2124.  > call the AES. It has actually been in HiSoft BASIC since version 1. In fact
  2125.  >it is  one  of the ST BASIC compatibility functions. With ST BASIC there
  2126.  >weren't  named access to gem calls you had to fill in the GEM arrays
  2127. yourself.
  2128.  >To  discourage people from using these we left them out of the HiSoft BASIC
  2129. 1
  2130.  >manual - I guess we should have included them in the HiSoft BASIC 2
  2131. manuals.
  2132.  >
  2133.  >So to check out the version number of the AES that you are running you can
  2134.  >use
  2135.  >  aes_version=PEEKW(PEEKL(GB+4))
  2136.  >
  2137.  >and to see if you are running a version of the AES that supports potentially
  2138.  >infinite numbers of applications use
  2139.  >  IF PEEKW(PEEKL(GB+4)+2)= -1 THEN ...
  2140.  
  2141. Dave,
  2142.  
  2143. Does that mean there's a better way to find the '_AESglobal' array than GB in
  2144. Hi-Soft BASIC 2.10?
  2145.  
  2146. Thanks,
  2147.  
  2148. Wayne - Monday, January 17, 1994 - 06:28 p.m. PST
  2149.  
  2150.  
  2151.  ------------
  2152. Category 33,  Topic 8
  2153. Message 128       Mon Jan 17, 1994
  2154. R.WATSON15 [Wayne Watson]    at 22:23 EST
  2155.  
  2156.  Wayne,
  2157.    Try...
  2158.  
  2159.    tos_ver = VAL(HEX$(PEEKW(PEEKL(PEEKL(&H4F2)+8)+2)))
  2160.  
  2161.    Not sure how HiSoft Basic handles peeks but, in GFA, it places th
  2162.  machine in Supervisor mode for you during peeks. You will need to be
  2163.  in Supervisor mode for this.
  2164.  
  2165.  ------------
  2166. Category 33,  Topic 8
  2167. Message 129       Mon Jan 17, 1994
  2168. HEAD.TRIP [Wayne]            at 23:46 EST
  2169.  
  2170. Wayne,
  2171.  
  2172. You again! <g> Hey, No Wayne, no gain! I saw that on a Wayne's World 2 ad. Are
  2173. _you_ sick of "Partytime Excellent" "Wayne's World Wayne's World!"
  2174.  
  2175. Oh, thanks for the code <g> .
  2176.  
  2177. Wayne - Monday, January 17, 1994 - 08:35 p.m. PST
  2178.  
  2179.  
  2180.  ------------
  2181. Category 33,  Topic 8
  2182. Message 130       Tue Jan 18, 1994
  2183. ORA [Bob]                    at 11:24 EST
  2184.  
  2185. Roger,
  2186.  
  2187. MASS is available separately.  Price is $39.95 + s/h
  2188.  
  2189. Robb
  2190.  
  2191.  ------------
  2192. Category 33,  Topic 8
  2193. Message 131       Tue Jan 18, 1994
  2194. HISOFT                       at 13:23 EST
  2195.  
  2196. Roger,
  2197.  
  2198. Here are the main improvements in version 2.10:
  2199.  
  2200.  * Major improvements to the GEM toolbox including extended  dialog routines
  2201. with keyboard short cuts and pop up menus.  Also easy to use "dialog in a
  2202. window" routines
  2203.  * Improved code generation
  2204.  * Named compiler options
  2205.  * MultiTOS friendly dynamic heap option
  2206.  * Long integer constants
  2207.  * New libraries for SpeedoGDOS, MiNT, MultiTOS and the  Falcon XBIOS
  2208.  *  Improved debugger (like that from Devpac 3) with better  source facilities
  2209. and which works in any mode on the Falcon
  2210.  * WERCS now supports the MultiTOS/Falcon 3D effects.
  2211.  * Editor walking menus work under Falcon TOS.
  2212.  
  2213. The upgrade includes a 32 page booklet describing the new  features (apart
  2214. from the new operating system calls). The  OS calls are documented in the book
  2215. Modern Atari System  Software. This is something that is available separately
  2216. because it includes the calls for Lattice C and Devpac as  well. We supply it
  2217. with the Lattice upgrade (as that's the  most expensive product) but this way
  2218. people with more than  one of our languages don't get multiple copies of it.
  2219.  
  2220. Wayne,
  2221.  
  2222. Sorry about my last message - I see you got it sorted over  the weekend before
  2223. I had time to reply. I hope you are OK  after the Earthquake.
  2224.  
  2225. To use Hex numbers in your BASIC programs prefic them by  &h. So &h340
  2226. corresponds to version 3.40 of the AES. To  print out values in hex use the
  2227. HEX$ function:
  2228.  
  2229. PRINT HEX$(version)
  2230.  
  2231. or whatever.
  2232.  
  2233. os_header&=SPEEKL(SPEEKL(&h4f2)+8) os_version&=PEEKW(os_header&+2)
  2234.  
  2235. This will give the version no in a similar form to the AES  version e.g. TOS
  2236. 3.06 is &h306.
  2237.  
  2238. Dave Nutkins, HiSoft.
  2239.  
  2240.  ------------
  2241. Category 33,  Topic 8
  2242. Message 132       Tue Jan 18, 1994
  2243. HEAD.TRIP [Wayne]            at 22:54 EST
  2244.  
  2245. Just a quick note to let you know I uploaded VERSIONS.ZIP to the library. It
  2246. has Hi-Soft BASIC 2.10 source code and shows how to do a few things in HB2
  2247. like register the applications name in the Desk menu under MultiTOS or Geneva
  2248. and get the TOS , AES & GEMDOS versions as well as the machine & processor
  2249. cookies. Thanks to Wayne Watson for the hex conversion information - it was
  2250. bugging me!
  2251.  
  2252. BTW, I don't know the file # yet, but if you search for versions you'll find
  2253. it after 1/19/1994
  2254.  
  2255. See ya!
  2256.  
  2257. Wayne - Tuesday, January 18, 1994 - 07:39 p.m. PST
  2258.  
  2259.  
  2260.  ------------
  2261. Category 33,  Topic 8
  2262. Message 133       Wed Jan 19, 1994
  2263. HEAD.TRIP [Wayne]            at 01:28 EST
  2264.  
  2265. Dave,
  2266.  
  2267. Thanks for the response - you _are_ allowed to have weekends <g>. I figured it
  2268. out and U/L'd the source, mentioned in the last posting.
  2269.  
  2270. Thanks,
  2271.  
  2272. Wayne - Tuesday, January 18, 1994 - 10:11 p.m. PST
  2273.  
  2274.  ------------
  2275. Category 33,  Topic 8
  2276. Message 134       Wed Jan 19, 1994
  2277. HISOFT                       at 13:24 EST
  2278.  
  2279. GB is the only way of accessing the global array in HiSoft  BASIC 2.10.
  2280.  
  2281. To print the aes version nicely with a full stop etc you  could use some like
  2282. this:
  2283.  
  2284.  sub print_version(byval a%)
  2285.  if a%>&h1000 then
  2286.     print hex$(a%>>12);
  2287.     a%=a% and &hFFF
  2288.  end if
  2289.  print hex$(a%>>8);
  2290.  a%= a% AND &Hff
  2291.  print ".";HEX$(a%>>4);HEX$(a% AND &hF)
  2292.  end sub
  2293.  
  2294. HiSoft BASIC doesn't use supervisor mode for "ordinary"  PEEKB/PEEKW/PEEKL;
  2295. these are in user mode to keep them fast  - SPEEKB etc do the same thing in
  2296. supervisor mode and will  also let you read words and longs from a long
  2297. boundary on a  68000 machine.
  2298.  
  2299. Dave N.
  2300.  
  2301.  
  2302. Dave N.
  2303.  
  2304. *S
  2305.  ------------
  2306. Category 33,  Topic 8
  2307. Message 135       Sun Jan 23, 1994
  2308. JRH [Roger]                  at 09:20 EST
  2309.  
  2310. Wayne,
  2311.  
  2312. Thanks for uploading VERSIONS - particularly the HiSoft Basic 2 listing with
  2313. it.  I like HB2 a lot, and have been using v2.01 since it was first released,
  2314. although my time is very limited and I have not really played with the toolbox
  2315. stuff at all.  I have ordered v2.10 and hope to see it soon.  Possible that
  2316. plus your examples will get me motivated to start doing some more programming
  2317. and really getting into the more advanced features of HB2.  I have a couple
  2318. programs I would particularly like to modify to run in multi-tasking mode.
  2319.  
  2320. So, thanks for sharing your stuff.  It is certainly going to help me get a
  2321. fresh start.
  2322.  
  2323. I am running Versions on both a Mega ST4 and a TT030.  On both machines the
  2324. TOS Date is displayed incorrectly.  Just checked it this morning on the TT,
  2325. and I get TOS Date 9199 1_,____ as the date.
  2326.  
  2327. Roger
  2328.  
  2329.  ------------
  2330. Category 33,  Topic 8
  2331. Message 136       Sun Jan 23, 1994
  2332. R.QUEZADA [B-B-Q]            at 22:36 EST
  2333.  
  2334. Anyone know if the upgrade to 2.10 allows reading of Jaguar enhanced
  2335. controllers in those enhanced ports on the Falcon?  The STICK function of my
  2336. version 2.02 doesn't seem read them at all.
  2337.  
  2338.  ------------
  2339. Category 33,  Topic 8
  2340. Message 137       Mon Jan 24, 1994
  2341. J.HUGHES23 [Jack ]           at 22:08 EST
  2342.  
  2343. Dave  --  I think I asked this question some time ago but don't recall if it
  2344. ever got answered:  Why, using HSBv2.02, does invoking "RUN" via "Alt X" or
  2345. the dropdown menu just compile the program and then stop, not continue on and
  2346. run it? as it did in my original v1.23?
  2347.  
  2348.                 [( )   Jack   ( )]
  2349.  
  2350.  
  2351.  ------------
  2352. Category 33,  Topic 8
  2353. Message 138       Tue Jan 25, 1994
  2354. HEAD.TRIP [Wayne]            at 22:34 EST
  2355.  
  2356. Roger,
  2357.  
  2358. Thanks for the input. I plan to share whatever I learn as I go. I am mainly
  2359. trying to make everthing I write at this point as MultiTOS / Geneva aware as
  2360. possible. I don't think I'll ever use alert boxes (form_alert) again, but
  2361. instead used windowed dialogs with key equivs. Hi-Soft BASIC 2.10 makes it so
  2362. easy to write nice programs and the HGT lets you get going and then specialize
  2363. any code you want as you go. I _wish_ I had _lots_ of time to program... <g>
  2364.  
  2365. Hmmm..... I'll have to check into the TOS version thing. It worked on my ST
  2366. (1.04) and Falcon (4.04), so I'll go to my friendly Atari dealer and try some
  2367. stuff there.
  2368.  
  2369. Thanks,
  2370.  
  2371. Wayne - Monday, January 24, 1994 - 10:28 p.m. PST
  2372.  
  2373.  ------------
  2374. Category 33,  Topic 8
  2375. Message 139       Wed Jan 26, 1994
  2376. HISOFT                       at 13:47 EST
  2377.  
  2378. B-B-Q,
  2379.  
  2380. I dopn't think we changed anything between 2.02 and 2.10. I  beleive the
  2381. intention is that the Jaguar controller should  work like the STE joystick but
  2382. we haven't been able to try  it (the Jag isn't available over here yet).
  2383.  
  2384. Dave Nutkins, HiSoft.
  2385.  
  2386. .
  2387.  ------------
  2388. Category 33,  Topic 8
  2389. Message 140       Wed Jan 26, 1994
  2390. HEAD.TRIP [Wayne]            at 23:19 EST
  2391.  
  2392. You know, I just bough a spare Jaguar controller and it sure did say
  2393. STe/Falcon compatible. I'll plug it in and get back to you.... after a few
  2394. rounds of Raiden! <g>
  2395.  
  2396. Wayne - Wednesday, January 26, 1994 - 08:07 p.m. PST
  2397.  
  2398.  ------------
  2399. Category 33,  Topic 8
  2400. Message 141       Thu Jan 27, 1994
  2401. HISOFT                       at 13:27 EST
  2402.  
  2403. Jack,
  2404.  
  2405. I'm sorry if I missed your message first time round.
  2406.  
  2407. The only reason I think of that "Run" in HiSoft BASIC 2.02  won't run your
  2408. program is if you have compile to disk  (rather than to RAM) switched on.
  2409.  
  2410. B-B-Q,
  2411.  
  2412. Further to my last message it appears that the Falcon  analog joystick port is
  2413. not compatible with the STe one at  all although it is at the same address in
  2414. the memory map.
  2415.  
  2416. Sorry about that.
  2417.  
  2418. Dave Nutkins, HiSoft
  2419.  
  2420.  ------------
  2421. Category 33,  Topic 8
  2422. Message 142       Thu Jan 27, 1994
  2423. HEAD.TRIP [Wayne]            at 21:05 EST
  2424.  
  2425. Hi,
  2426.  
  2427. Someone sent me a note asking how to check if the printer is online. I came up
  2428. with this function, which checks if the printer is online, and if it isn't
  2429. lets the user either Cancel the printing operation or turn on printer and
  2430. select OK.
  2431.  
  2432. You would call it like:
  2433.  
  2434. IF printer_ready THEN
  2435.  
  2436.   *** Do your printing routine ***
  2437.  
  2438. END IF
  2439.  
  2440.  
  2441. I tested it here and it was OK - if something is goofy with it please let me
  2442. know, I am but a humble 'newbie' to most of this <g>.
  2443.  
  2444. (BTW, the HBX is because I have an HBX folder like the HGT one where I keep Hi-
  2445. Soft BASIC eXtensions that I write. Then I use them like the HGT, 'REM
  2446. $include'ing what I need & usually pre-tokenising.)
  2447.  
  2448. Wayne - Thursday, January 27, 1994 - 05:36 p.m. PST
  2449.  
  2450. -------- Cut Here -------------------------------
  2451.  
  2452. ' Printer HBX ' Started 1/27/94 ' Wayne Steinert
  2453.  
  2454. LIBRARY "GEMDOS" LIBRARY "GEMAES" DEFINT A-z
  2455.  
  2456. ' Check if printer is ready to receive... ' Returns -1 if printer ready '
  2457. Returns 0 if user wants to abort the printing FUNCTION printer_ready STATIC
  2458. res
  2459.   WHILE NOT cprnos%
  2460.     res=form_alert (2,"[3][ Printer | not ready...][ Cancel | Retry ]")
  2461.     IF res=1
  2462.       printer_ready=0
  2463.       EXIT FUNCTION
  2464.     END IF
  2465.   WEND printer_ready=-1 END FUNCTION
  2466.  
  2467. -------- Cut Here -------------------------------
  2468.  ------------
  2469. Category 33,  Topic 8
  2470. Message 143       Sat Jan 29, 1994
  2471. J.HUGHES23 [Jack ]           at 19:19 EST
  2472.  
  2473. Dave  --
  2474.  
  2475.  >The only reason I think of that "Run" in HiSoft BASIC 2.02  won't run your
  2476.  >program is if you have compile to disk  (rather than to RAM) switched on.
  2477.  
  2478. Well, you diagnosed that one right on the nose.  Took me awhile to find the
  2479. dropdown menu, but it works fine now.  Hope I remember till the next time!
  2480.  
  2481. Thanks,                [( )   Jack   ( )]
  2482.  ------------
  2483. Category 33,  Topic 8
  2484. Message 144       Sun Feb 06, 1994
  2485. C.WAWRZYNIAK                 at 11:57 EST
  2486.  
  2487. Thanks... I'll definately try this routine for the printer. Programming is a
  2488. constant learning trend.
  2489.  ------------
  2490. Category 33,  Topic 8
  2491. Message 145       Mon Mar 07, 1994
  2492. R.QUEZADA [Rob]              at 20:45 EST
  2493.  
  2494. I just sent away for the HiSoft Silver Support for HiSoft BASIC 2.02 How do I
  2495. upgrade now to 2.1?  Do I have to wait for someone to send me something by
  2496. mail, or can I order it via e-mail through HiSoft?  I really need this new
  2497. version badly.  I've waited about 1 1/2 months and haven't received anything
  2498. in the mail.
  2499.    It says that I have access to closed technical support conference on CIX.
  2500. What is CIX?
  2501.  ------------
  2502. Category 33,  Topic 8
  2503. Message 146       Mon Mar 07, 1994
  2504. A.FASOLDT [Al Fasoldt]       at 21:59 EST
  2505.  
  2506. Rob,
  2507.  
  2508. CIX is the European connection to BIX, an old and foggy U.S. online service.
  2509.  
  2510. Al
  2511.  
  2512. :)
  2513.  ------------
  2514. Category 33,  Topic 8
  2515. Message 147       Wed Mar 09, 1994
  2516. HISOFT                       at 13:22 EST
  2517.  
  2518. Rob,
  2519.  
  2520. CIX is a major U.K. online service for programmers and users of
  2521.  
  2522. many platforms. It has probably got more users over here than  anything over
  2523. than Compuserve.
  2524.  
  2525. Although the CIX system evolved from the same, Cosy  conferencingsoftware, CIX
  2526. and BIX aren't related apart from the  name.
  2527.  
  2528. Our Silver support service is really designed for people in  countries where
  2529. we don't have an active distributor like ORA.
  2530.  
  2531. We do have you registered for Silver Support you should have got  an
  2532. introductory letter and notification of the 2.10 upgrade -  I'll mail you the
  2533. pricing for that upgrade when I can check on  the shipping charge to the U.S.
  2534.  
  2535. Dave Nutkins, HiSoft.
  2536.  ------------
  2537. Category 33,  Topic 8
  2538. Message 148       Wed Mar 09, 1994
  2539. A.FASOLDT [Al Fasoldt]       at 21:40 EST
  2540.  
  2541. Thanks for clarifying CIX's relationship (or lack of it) with BIX. When I was
  2542. a regular on BIX, the owner at that time (Byte) made it clear that CIX had a
  2543. commonality with BIX, and I never questioned that is was. ("Yeah, we have two
  2544. letters in common ...")
  2545.  
  2546. Al
  2547.  ------------
  2548. Category 33,  Topic 8
  2549. Message 149       Wed Mar 09, 1994
  2550. R.QUEZADA [Rob]              at 22:01 EST
  2551.  
  2552. Dave,
  2553.      Thanks.  I'm looking forward to getting it.
  2554.  ------------
  2555. Category 33,  Topic 8
  2556. Message 150       Sun Mar 20, 1994
  2557. B.AEIN [B Man]               at 01:22 EST
  2558.  
  2559. I am looking at getting a basic language, I have played with STOS but found it
  2560. to limiting and not enough support for non-game programing. I have GFA 3.5
  2561. that came on a Cover disk, but I am running on a F030 and want to be able to
  2562. use all resolutions and the DSP, FPU, as well as the TT's hi res mono TTm195.
  2563.  
  2564. Is HB still being upgraded/active, I have heard some rumors to the contrary,
  2565. and what is the state of GFA, have they made or making 4.0?
  2566.  
  2567. I also see a lot of code for GFA in the British mags in PD catalogs, is there
  2568. the same thing for HB?
  2569.  
  2570. I am still rather new to programing and need all the pre written code I can
  2571. get my hands on.
  2572.  
  2573. My first real project is a ACC for Stalk the Market, it will display all of
  2574. the stocks in a news paper format for quick viewing.  STM makes you load up
  2575. each stock seperatly and draws its graph.  I just want to know which stocks
  2576. are up and which are down.
  2577.  
  2578. I might expande it to be a full blown T/A stock program if HB is easy enough
  2579. to get to grips with.
  2580.  
  2581. Thanks
  2582.  
  2583. Bman
  2584.  ------------
  2585. Category 33,  Topic 8
  2586. Message 151       Sun Mar 20, 1994
  2587. R.WATSON15 [Wayne Watson]    at 15:46 EST
  2588.  
  2589.  Bman,
  2590.    Forget GFA as it is no longer supported by the company and does not
  2591.  work very well on the newer machines. HB2 is the better choice as it
  2592.  is still supported and updated.
  2593.  
  2594.  ------------
  2595. Category 33,  Topic 8
  2596. Message 152       Wed Mar 23, 1994
  2597. ORA [Bob]                    at 12:58 EST
  2598.  
  2599. B Man,
  2600.  
  2601. HiSoft Basic is definately still being supported and upgraded.  The newest
  2602. version was released in October, with Falcon and TOS 4 support.  The code in
  2603. mags for GFA is fairly similar to what you would do in HSB, so it could give
  2604. you some help.  HSB is also similar to Microsoft Quikbasic, so there are some
  2605. books out there that can help, and we are working on getting some more example
  2606. programs done and out in the public.
  2607.  
  2608. Robb @ ORA
  2609.  
  2610.  ------------
  2611. Category 33,  Topic 8
  2612. Message 153       Thu Mar 24, 1994
  2613. B.AEIN [B Man]               at 02:14 EST
  2614.  
  2615. Well I ordered HB 2.1 and the Atari System's book, not the Conpendium, do I
  2616. need both?
  2617.  
  2618. What is OR's price on these?
  2619.  
  2620. I would love to get a few PD disk of pre done code, that could be just
  2621. inserted into my prg's to save much time.  I hate to reinvent code that is
  2622. already out there unless it is a great learning experience.  I see that the
  2623. british PD houses have GFA code disks for sale, may be they have HB 2 and just
  2624. don't advertise it???
  2625.  
  2626. Maybe we can start a new lib on genie and get people that use or are
  2627. registered to send in useable code (moduals) that they have done?  I am
  2628. willing to help organize this.
  2629.  
  2630. My prob is that I can design the fudge out of the user interface of a good
  2631. prg, but have limited coding skills.
  2632.  
  2633. Does HB2 use line numbers?
  2634.  
  2635. Will GFA's ability to "hide" code like that of sub routines be added to HB
  2636. 2.?, this looks to go to be true and makes prg more managable.
  2637.  
  2638. Thanks
  2639.  
  2640. Bman
  2641.  ------------
  2642. Category 33,  Topic 8
  2643. Message 154       Fri Mar 25, 1994
  2644. HISOFT                       at 13:16 EST
  2645.  
  2646. Bman,
  2647.  
  2648. You need Modern Atari System Software (MASS) if you want to  use the Falcon
  2649. stuff, SpeedoGDOS, MultiTOS & MiNT because  it includes the details of the
  2650. BASIC bindings.
  2651.  
  2652. The Compendium has extra information on the ST operating  system calls (esp
  2653. the lowlevel ones) compared with the  HiSoft BASIC 2 manuals but it doesn't
  2654. have the details of  the types of parameters etc for the BASIC calls.
  2655.  
  2656. You can use linenumbers in HiSoft BASIC if you really must.  HiSoft BASIC has
  2657. so many structured statements that gotos  generally aren't required and if
  2658. they are using a named  label is preferable.
  2659.  
  2660. Unfortunately the structure of the existing editor would  make it very
  2661. difficult to implement folding in the near  future.
  2662.  
  2663. Dave Nutkins, HiSoft.
  2664.  
  2665.  ------------
  2666. Category 33,  Topic 8
  2667. Message 155       Fri Mar 25, 1994
  2668. ORA [Bob]                    at 15:51 EST
  2669.  
  2670. B Man,
  2671.  
  2672. Our retail price on HSB2 is $139.95, and MASS is $39.95.  The Atari compendium
  2673. is a good tool for programmers, and has information dealing with all versions
  2674. of TOS, where MASS deals only with new features like TOS 4, MultiTOS, etc.
  2675.  
  2676. The Idea of sharing code is a good one, maybe talk to the sysop, and have them
  2677. contact us if they think it is feasible.
  2678.  
  2679. You can use line numbers in HSB2, but there is no 'hide-code' in this version,
  2680. although there are other ways of managing code, such as pre-tokenised files.
  2681.  
  2682. Robb @ ORA
  2683.  
  2684.  ------------
  2685. Category 33,  Topic 8
  2686. Message 156       Sat Mar 26, 1994
  2687. B.AEIN [B Man]               at 18:02 EST
  2688.  
  2689. Cool, what are some good books to get to grips with Data Base programing?  Is
  2690. it Quick basic that HB is compatible with?
  2691.  
  2692. Bman
  2693.  ------------
  2694. Category 33,  Topic 8
  2695. Message 157       Wed Mar 30, 1994
  2696. HISOFT                       at 12:19 EST
  2697.  
  2698. Bman,
  2699.  
  2700. Yep its QuickBASIC (3) that HiSoft BASIC is compatible  with.
  2701.  
  2702. Dave Nutkins, HiSoft.
  2703.  
  2704.  ------------
  2705. Category 33,  Topic 8
  2706. Message 158       Wed Mar 30, 1994
  2707. B.AEIN [B Man]               at 18:04 EST
  2708.  
  2709. I just bought HS Basic from Toad and got version 2.02.  What do I need to do
  2710. to get version 2.10?  Should I conntact Toad or will you update me?
  2711.  
  2712. Wercs looks very powerful, I am wondering how one does slide bars? Has this
  2713. already been coded?
  2714.  
  2715. There is a lot of info to read, but I'm a quick learner. Is there a GFA to HSB
  2716. converter? Is there any source code over the pond in PD libraries?
  2717.  
  2718. One quick question, what is the best way to prg the following?  If someone
  2719. clicks on ATC it will allow them to input all the data to the right of the
  2720. symbol. If they click on any of the other fields, they can only edit that
  2721. field.
  2722.  
  2723. Should I use Wercs, or have routines to draw all the box's and text info to
  2724. the screen?
  2725.  
  2726. STM ADVISOR Symbol  Current price +/-  Shares held Cost Average Commisions ect.. -------------------------------------------------
  2727. ------------ ATC        $7.00     -.50       1,000    $5.00       $20 --
  2728. ---------------------------------------------------------------- 
  2729.             AMTC ------------------------------------------------------------------
  2730.  
  2731.  
  2732. Thanks
  2733.  
  2734. Bman
  2735.  ------------
  2736. Category 33,  Topic 8
  2737. Message 159       Wed Mar 30, 1994
  2738. B.AEIN [B Man]               at 23:24 EST
  2739.  
  2740. Um Genie made a mess of my last message.  A little reformating will show you
  2741. what I had in mind, everything does line up. ;')
  2742.  ------------
  2743. Category 33,  Topic 8
  2744. Message 160       Mon Apr 04, 1994
  2745. ORA [Bob]                    at 16:11 EDT
  2746.  
  2747. Upgrade to HSB 2.1 is $39 plus s/h.  Send us your original disk, and we will
  2748. send you the upgrade, which includes a manual addendum.
  2749.  
  2750. Robb @ ORA
  2751.  
  2752.  ------------
  2753. Category 33,  Topic 8
  2754. Message 161       Tue Apr 05, 1994
  2755. B.AEIN [B Man]               at 01:35 EDT
  2756.  
  2757. Should Toad be selling 2.1?  I think I will call them and have them get 2.1,
  2758. as I just bought it new and got an older dated version.  I don't blame ORA,
  2759. but $39 is a bit steep for an upgrade, that I shouldn't need.
  2760.  
  2761. Bman
  2762.  ------------
  2763. Category 33,  Topic 8
  2764. Message 162       Tue Apr 05, 1994
  2765. HISOFT                       at 13:31 EDT
  2766.  
  2767. Bman,
  2768.  
  2769.  
  2770. Sliders for windows are created when you create the window; you  have to roll
  2771. ones within dialogs yourself. If you use the HiSoft  GEM Toolbox, it has stuff
  2772. to handle scrollable windows for you.
  2773.  
  2774. I don't know of a GFA to HiSoft BASIC convertor, I'm afraid. It  is the sort
  2775. of thing that is difficult to do automatically in  full generality. To be
  2776. honest I haven't had time to see what PD  libraries over here have as far as
  2777. hiSoft BASIC source code; in  general our users seem to want to hold on to
  2778. their source code  rather more than GFA types, I don't know why!
  2779.  
  2780.  
  2781. Dave Nutkins, HiSoft.
  2782.  
  2783.  ------------
  2784. Category 33,  Topic 8
  2785. Message 163       Wed Apr 06, 1994
  2786. J.KOSIOREK1 [Jack.K]         at 22:35 EDT
  2787.  
  2788. BMan I believe there is a program that shows how to do sliders in a  dialog
  2789. box with HiSoft Basic somewhere in this library. Sorry I cannot remember its
  2790. name but I think a search on HiSoft or Sliders should find it. I know I
  2791. downloaded it from here quite a while ago. It has quite a few useful comments.
  2792.  
  2793. Jack
  2794.  ------------
  2795. Category 33,  Topic 8
  2796. Message 164       Thu Apr 07, 1994
  2797. B.AEIN [B Man]               at 22:43 EDT
  2798.  
  2799. Thanks Jack,
  2800.  
  2801. What version are you running?  Any chance you would up load or Fmail me some
  2802. prg's???
  2803.  
  2804. I am looking at buuilding some moduals then uploading them to the Lib, so that
  2805. everyone can use and modify them.
  2806.  
  2807. I hope other people will do the same, thats the one advantage that GFA has
  2808. over any other basic.
  2809.  
  2810. Has WERCS been improved for version 2.1 over 2.02?  I would like to have a way
  2811. to be in move mode or in sizing mode, as both make it very hard to do what I
  2812. would like to do.
  2813.  
  2814. Thanks
  2815.  
  2816. Bman
  2817.  ------------
  2818. Category 33,  Topic 8
  2819. Message 165       Thu Apr 07, 1994
  2820. E.EDELENBOS [-Ed-]           at 23:18 EDT
  2821.  
  2822. Hello.  I am new to this area.  I have been searching for a way to get access
  2823. to the FPU on my AdSpeed board from Hisoft Basic.  Is there a way? Is there a
  2824. lib I can include.  I can't (for the life of me) find anything in the manual.
  2825. Thanks in advance.  (P.S.  it is equal to the Atari Mega FPU board in
  2826. operation.  i.e. Peripheral mode)
  2827.  ------------
  2828. Category 33,  Topic 8
  2829. Message 166       Mon Apr 11, 1994
  2830. ORA [Bob]                    at 15:05 EDT
  2831.  
  2832. Actually, the upgrade includes the new program, new libraries, plus a manual
  2833. addendum, so $39 is not all that much.
  2834.  
  2835. Robb @ ORA
  2836.  
  2837.  ------------
  2838. Category 33,  Topic 8
  2839. Message 167       Mon Apr 11, 1994
  2840. E.EDELENBOS [-Ed-]           at 19:36 EDT
  2841.  
  2842. Robb, in the upgrade, is there a library to include FPU use?  I need to  check
  2843. to see what version I have.  Can you tell me what the latest vers. number is?
  2844. Thanks.
  2845.  ------------
  2846. Category 33,  Topic 8
  2847. Message 168       Tue Apr 12, 1994
  2848. HISOFT                       at 13:27 EDT
  2849.  
  2850. B Man,
  2851.  
  2852. The improvements in WERCS for HiSoft BASIC 2.10 over 2.02  are only in the
  2853. area of 3D buttons for MultiTOS and the  Falcon. I take it that you've got
  2854. lots of small objects.  One hint is to always click near the top left of small
  2855.  objects when you are editting these. Remember you can also  use the Extras
  2856. command (Alt-E) for precise control of  object sizes etc.
  2857.  
  2858. The GEM yoolkit has been greatly enhanced.
  2859.  
  2860. Ed,
  2861.  
  2862. I'm afraid that you can't access a peripheral FPU from  HiSoft BASIC. It isn't
  2863. something that could be easily  added.
  2864.  
  2865. Dave Nutkins, HiSoft.
  2866.  
  2867.  
  2868.  ------------
  2869. Category 33,  Topic 8
  2870. Message 169       Tue Apr 12, 1994
  2871. E.EDELENBOS [-Ed-]           at 18:52 EDT
  2872.  
  2873. Dave, thanks for the info.  It didn't hurt to ask.  (Grin)
  2874.  ------------
  2875. Category 33,  Topic 8
  2876. Message 170       Tue Apr 12, 1994
  2877. S.MCGEE2                     at 22:33 EDT
  2878.  
  2879.  
  2880.         I purchased HiSoft Basic 2.1 in January of this year and am happy to
  2881. say it's the best Basic I've ever used. The toolboxes in particular are
  2882. invaluable and make programming GEM a breeze. My question is on documentation
  2883. for the new toolbox routines which begin with an 'x'
  2884. (xHGTloop,xForm_do,xHandleDialog). These routines must have been written after
  2885. the manual and are not documented. There are examples for some but not all. I
  2886. heard that addendum to previous versions were included with updates. Could
  2887. this be the missing docts?
  2888.         Secondly, there is an example for loading and displaying images using
  2889. the images(index...) array. There is no example or any text of how to write to
  2890. this array or copy window graphics to this array. Anyone want to field this
  2891. one? Thank you in advance,
  2892.  
  2893.  
  2894. Sam
  2895.  
  2896.  
  2897.  ------------
  2898. Category 33,  Topic 8
  2899. Message 171       Wed Apr 13, 1994
  2900. HISOFT                       at 13:19 EDT
  2901.  
  2902. Ed,
  2903.  
  2904. The latest version of HiSoft BASIC is 2.10. With the TT version  (which also
  2905. works on the Falcon with FPU) there is support for  inline generation of FPU
  2906. code. There is no option for i/o mapped  support for 68000 machines.
  2907.  
  2908. Dave Nutkins, HiSoft.,
  2909.  
  2910.  ------------
  2911. Category 33,  Topic 8
  2912. Message 172       Wed Apr 13, 1994
  2913. E.EDELENBOS [-Ed-]           at 18:23 EDT
  2914.  
  2915. Thanks Dave.
  2916.  ------------
  2917. Category 33,  Topic 8
  2918. Message 173       Thu Apr 14, 1994
  2919. HISOFT                       at 13:25 EDT
  2920.  
  2921. Sam,
  2922.  
  2923. The new toolbox routines are described in the version 2.10  Addendum that is
  2924. supplied with the product and with  upgrades.
  2925.  
  2926. I'm afraid I don't have an example of updating an Image  array once its loaded
  2927. I'm afraid. Its something I keep  meaning to write but some how I've never
  2928. found the time.
  2929.  
  2930. Dave Nutkins, HiSoft.
  2931.  
  2932.  ------------
  2933. Category 33,  Topic 8
  2934. Message 174       Sun Apr 17, 1994
  2935. R.QUEZADA [Rob]              at 00:29 EDT
  2936.  
  2937. Dave,
  2938.      I sent out my HiSoft Basic 2.02 disks to you for the 2.10 upgrade.  I was
  2939. wondering if you could tell me about when they would be shipped out.
  2940.  
  2941. You should have gotten them by now, I guess.  Any information would be
  2942. appreciated, since I have something I've been working on and I need the
  2943. upgrade to finish.
  2944.  ------------
  2945. Category 33,  Topic 8
  2946. Message 175       Tue Apr 19, 1994
  2947. HISOFT                       at 13:19 EDT
  2948.  
  2949. Rob,
  2950.  
  2951. I can't help re your shipping of your upgrade; I work for  HiSoft here in
  2952. England rather than Oregon, giving technical  help on our products; Robb@ORA
  2953. is the guy to ask.
  2954.  
  2955.  
  2956. Dave Nutkins, HiSoft.
  2957.  
  2958.  ------------
  2959. Category 33,  Topic 8
  2960. Message 176       Tue Apr 19, 1994
  2961. ORA [Bob]                    at 14:44 EDT
  2962.  
  2963. Rob,
  2964.  
  2965. There is no Dave here at ORA, and if you are here in the US, upgrades should
  2966. be done thru us.
  2967.  
  2968. Robb @ ORA
  2969.  
  2970.  ------------
  2971. Category 33,  Topic 8
  2972. Message 177       Tue Apr 19, 1994
  2973. S.MCGEE2 [Sam]               at 22:10 EDT
  2974.  
  2975. HISOFT,
  2976.      My compiled HSBasic 2.1 program is over 100K and strings and arrays are
  2977. using over 500K of memory. I occasionally get an 'Out of memory' error. The
  2978. Technical Reference states that the heap may be full. Is it just a matter of
  2979. increasing the size of: rem $option Knnn
  2980.      Also, the Reference describes String descriptors under the Advanced
  2981. Options but the HSBasic 2.1 shows Dynamic Heap size. System: Falcon 4M. Sam
  2982.  ------------
  2983. Category 33,  Topic 8
  2984. Message 178       Thu Apr 21, 1994
  2985. HISOFT                       at 13:24 EDT
  2986.  
  2987. Yes, if you get Out of Memory its most likely because the  heap is full (this
  2988. is when your progam is running isn't  it?). You can also get this message when
  2989. you haven't left  enough memory to the operating system.
  2990.  
  2991. If you aren't multi-tasking then its best to use the Leave  Size option to
  2992. just leave some memory to the OS - that way  your program will get more memory
  2993. for itself.
  2994.  
  2995. The "Dynamic Heap Size" isn't described in the Technical  Reference because it
  2996. wasn't added until HiSoft BASIC 2.10.  It sets the cut off point when using
  2997. the new dynamic heap  which is designed for programs designed to run under
  2998. Multi- tasking systems.
  2999.  
  3000.  
  3001. Dave Nutkins, HiSoft.
  3002.  
  3003.  ------------
  3004. Category 33,  Topic 8
  3005. Message 180       Fri May 06, 1994
  3006. R.QUEZADA [Rob]              at 22:52 EDT
  3007.  
  3008. I was just wondering......  In GFA Basic, there was a reserved word: "L~A"
  3009. that returns the Line-A address.  I was wondering if there was a way to
  3010. calculate that address with HiSoft BASIC 2.10?  I need it for converting my
  3011. STOSFix program I wrote so it will actually work with MultiTOS.
  3012.  ------------
  3013. Category 33,  Topic 8
  3014. Message 181       Sat May 07, 1994
  3015. S.MCGEE2 [Sam]               at 15:29 PDT
  3016.  
  3017.  Rob,
  3018.   There is a HISoft Basic demo here in the library on how to use the
  3019.  naughty Line-A functions. Search under HISoft Basic. I think it's the
  3020.  only HSB file here with source code.
  3021.  Sam
  3022.  ------------
  3023. Category 33,  Topic 8
  3024. Message 182       Mon May 09, 1994
  3025. J.WISNIEWSK2 [Jeff - ST'er]  at 19:04 EDT
  3026.  
  3027.   Several questions about HiSoft Basic 2:
  3028.  
  3029.         1) Is there something special about writing a AUTO folder
  3030.            program with this version of basic?.  Or am I missing
  3031.            something?.
  3032.  
  3033.         2) I notice that some of the sample source code here on GEnie
  3034.            uses a library called GEMACC, is this library available?.
  3035.  
  3036. Thanks.
  3037.  
  3038.                 ^^^^^^^^^^^^^^^^^^^
  3039.                 ^^^^    JSW    ^^^^
  3040.                 ^^^^   ST'er   ^^^^
  3041.                 ^^^^^^^^^^^^^^^^^^^
  3042.  
  3043. Monday, May 9, 1994 - 5:27:36 pm
  3044.  ------------
  3045. Category 33,  Topic 8
  3046. Message 183       Mon May 09, 1994
  3047. C.WAWRZYNIAK                 at 19:44 EDT
  3048.  
  3049. I'm not too familiar with AUTO folder programming.
  3050.  
  3051. You don't need the library GEMACC in HiSoft BASIC 2.0 nor in 2.1 It was needed
  3052. in v1.x In place of GEMACC, you need GEMVDI library.
  3053.  
  3054. Cheersd
  3055.  ------------
  3056. Category 33,  Topic 8
  3057. Message 184       Wed May 11, 1994
  3058. HISOFT                       at 13:14 EDT
  3059.  
  3060. Jeff,
  3061.  
  3062. You should read Appendix G (Desk Accessories) of the Technical  Reference
  3063. Manual if you are converting a HiSoft BASIC 1 program  that uses the obsolete
  3064. GEMACC library.
  3065.  
  3066. To write a program for the Auto folder, write it as a TOS  program; rename as
  3067. PRG and then copy it to the AUTO folder.
  3068.  
  3069. Dave Nutkins, HiSoft.
  3070.  
  3071.  ------------
  3072. Category 33,  Topic 8
  3073. Message 185       Tue May 17, 1994
  3074. S.MCGEE2 [Sam]               at 19:32 PDT
  3075.  
  3076.  HiSoft,
  3077.       I purchased HiSoft Basic 2.1 in February and have been
  3078.  struggling with some of the new features. I happened to read an ad
  3079.  for HS Basic 2.1 which says it includes a 30 page addendum which
  3080.  covers these new features. My package did not include this
  3081.  addendum. How do I go about obtaining one?
  3082.  Sam
  3083.  ------------
  3084. Category 33,  Topic 8
  3085. Message 186       Tue May 24, 1994
  3086. HISOFT                       at 13:22 EDT
  3087.  
  3088. Sam,
  3089.  
  3090. Please contact Oregon Research.
  3091.  
  3092. Dave Nutkins, HiSoft.
  3093.  
  3094.  ------------
  3095. Category 33,  Topic 8
  3096. Message 187       Tue May 24, 1994
  3097. ORA [Bob]                    at 20:49 EDT
  3098.  
  3099. Yes, Sam.  Please contact us at your convenience.
  3100.  
  3101. Best regards, Bob@ORA
  3102.  ------------
  3103. Category 33,  Topic 8
  3104. Message 188       Sat Jul 09, 1994
  3105. B.AEIN [B Man]               at 20:40 EDT
  3106.  
  3107. Guy's I just got the upgrade to 2.1, thanks.
  3108.  
  3109. I am having some probs tho.  Heres whats happening:
  3110.  
  3111.  1. When I try to complie and run the example on page 156 of the User
  3112.  manual in ST RAM, I get a "Not enough memory around line 1222"
  3113.  "65 code generation failed at line 9" message.  how do I correct for
  3114.  this?  It will compile and save to disk.
  3115.  
  3116.  2. It is having problems find where files are.  If they are not in
  3117.  the root of Basic folder, it throws a fit.
  3118.  
  3119. Hope to hear back soon.
  3120.  
  3121. Bman
  3122.  ------------
  3123. Category 33,  Topic 8
  3124. Message 189       Mon Jul 18, 1994
  3125. T.WILKINSON1 [TomWilkinson]  at 21:37 PDT
  3126.  
  3127. This might just be the dumbest question ever asked here, but here goes:
  3128.  
  3129. Is there an interpreter in Hisoft Basic 2.x? I have just bought the package
  3130. from Oregon, and have used the compiler, but can't find any interpreter to run
  3131. programs before compiling. Thanks for any help.
  3132.  ------------
  3133. Category 33,  Topic 8
  3134. Message 190       Wed Jul 20, 1994
  3135. CBARRON                      at 00:56 EDT
  3136.  
  3137.  It's not a dumb question, but I do not believe there ever was a Hisoft Basic
  3138. interpreter.  It should compile fast enough so an interpreter is not needed,
  3139. and the code does not have to be 'fixed' to compile after it runs in an
  3140. interpreted mode.  Compile and run should be easy point an click operations,
  3141. but I think save, compile, run is a better sequence....
  3142.  
  3143.  ------------
  3144. Category 33,  Topic 8
  3145. Message 191       Fri Jul 22, 1994
  3146. RHFACTOR                     at 02:07 EDT
  3147.  
  3148. Question for the HiSoft'ers out there ....  I read somewhere that there was or
  3149. is a converter program that transformed HiSoft code to GFA or visa-versa ...
  3150. anyone have any details ??
  3151.        RHFactor
  3152.  ------------
  3153. Category 33,  Topic 8
  3154. Message 192       Sat Jul 23, 1994
  3155. J.KOSIOREK1 [Jack.K]         at 10:34 EDT
  3156.  
  3157. Tom: HiSoft Basic compiles extremely fast. (Faster Than Most Interpreters
  3158. Interpret) TOS programs can be compiled and run from the Menu Selection but
  3159. GEM programs must first be compiled and then they can be run from the menu
  3160. option (RUN OTHER PROGRAM) or you can quit BASIC and run it  from the desktop.
  3161. The only problems I ever had running a GEM program  from the HISOFT EDITOR
  3162. SHELL was when it couldn't find my resource file (.RSC). Of course, once I
  3163. told BASIC where to find it in the  preferences menu option it worked fine.
  3164. Hope this helps.
  3165.  
  3166. Jack
  3167.  ------------
  3168. Category 33,  Topic 8
  3169. Message 193       Tue Jul 26, 1994
  3170. T.WILKINSON1 [TomWilkinson]  at 08:34 PDT
  3171.  
  3172. Jack, thanks for your reply. I guess I am just used to the GFA interpreter for
  3173. fast testing and debugging. Oh well, not a problem. Thanks again.
  3174.  ------------
  3175. Category 33,  Topic 8
  3176. Message 194       Sat Aug 13, 1994
  3177. C.WAWRZYNIAK [Criss-Cross]   at 20:55 EDT
  3178.  
  3179. Hi folks,
  3180.  
  3181. The example on page 131 of the Tech. Ref. manual of HiSoft BASIC 2 shows how
  3182. to turn off keypress clicks. What I would like to know, how do I got about to
  3183. turn ON keypress clicks?
  3184.  
  3185. Also, the routine on page 229 of the STeSound library, (same book as
  3186. mentioned above) is wrong.  I get error 53  If I remove the THEN at the end of
  3187. the first line, then HiSoft BASIC 2 claims that one of the right brackets
  3188. should be a comma.
  3189.  
  3190.  
  3191. Any help on getting results of the above two problems, would be greatly
  3192. appreciated.
  3193.  
  3194. Thanks in advance.
  3195.  
  3196. Cheers
  3197.  ------------
  3198. Category 33,  Topic 8
  3199. Message 195       Sat Aug 13, 1994
  3200. S.MCGEE2 [Sam]               at 22:40 PDT
  3201.  
  3202.  Criss-Cross
  3203.  
  3204.  {
  3205.  The example on page 131 of the Tech. Ref. manual of HiSoft BASIC 2 shows how
  3206.  to turn off keypress clicks. What I would like to know, how do I got about to
  3207.  turn ON keypress clicks?
  3208.  }
  3209.  
  3210.  
  3211.  According to The Atari Compendium:
  3212.  Memory Map location &H484 (byte)
  3213.  
  3214.  Bit   Meaning if set
  3215.  ---   --------------
  3216.   0    Enable key click
  3217.   1    Enable key repeat
  3218.   2    Enable system bell
  3219.   3    Cause Bconin() to return shift status
  3220.  
  3221.  I suspect setting any of these bits to zero disables the function:
  3222.  
  3223.  
  3224.  {
  3225.  Also, the routine on page 229 of the STeSound library, (same book as
  3226. mentioned
  3227.  above) is wrong.  I get error 53  If I remove the THEN at the end of
  3228.  the first line, then HiSoft BASIC 2 claims that one of the right brackets
  3229.  should be a comma.
  3230.  }
  3231.  
  3232.  It looks like an END IF is missing. If the 'IF' executes more than one
  3233.  statements, END IF is required.
  3234.  
  3235.  Sam
  3236.  
  3237.  ps So Scott doesn't sue me: Everyone buy the Compendium!  :)
  3238.     Sorry about the C notation.
  3239.  ------------
  3240. Category 33,  Topic 8
  3241. Message 196       Tue Aug 16, 1994
  3242. C.WAWRZYNIAK [Criss-Cross]   at 20:59 EDT
  3243.  
  3244. Hi folks,
  3245.  
  3246. I'm experimenting with windows in HiSoft BASIC 2.10 but am not having much
  3247. luck.  I CAN get windows to open and stuff like that but I am having trouble
  3248. in passing control to another window.
  3249.  
  3250. For example: I have window 1 open, the main program. As soon as  the user
  3251. presses the right mouse button, window 2 opens up. Window 1 goes into the
  3252. background & window 2 comes in the foreground. At this point the user presses
  3253. any key on the keyboard and window 2 should be now in the background and
  3254. window 1 comes into the foreground. This is where I'm having trouble with.
  3255.  
  3256. Any help would be greatly appreciated.
  3257.  
  3258. Thanks in advance.
  3259.  
  3260. Cheers
  3261.  
  3262.  ------------
  3263. Category 33,  Topic 8
  3264. Message 197       Tue Aug 16, 1994
  3265. S.MCGEE2 [Sam]               at 21:05 PDT
  3266.  
  3267.  Chris-Cross,
  3268.      If you are using the toolkit for windows (strongly recommended) then
  3269.  you just need the SUB TopAWindow which takes your window handle for a
  3270.  parameter. This is discribed on page 7 of the Addendum. As the text states,
  3271.  the XADDRESS.BAS program is excellent way to learn to use xHGTloop.
  3272.  
  3273.  If you don't use the toolkit you have to have to use wind_update and
  3274.  a bunch of other stuff and 'walk the rectangle list.' See the SUB ReDraw
  3275.  in WINDOW.BAS. Since it's already written and debugged, I use the
  3276.  toolkit. :)
  3277.  
  3278.  (Any corrections to my mistakes are appreciated.)
  3279.  
  3280.  Sam
  3281.  ------------
  3282. Category 33,  Topic 8
  3283. Message 198       Mon Sep 05, 1994
  3284. T.WILKINSON1 [TomWilkinson]  at 07:48 PDT
  3285.  
  3286.  I am having a little trouble with some of the examples in the
  3287.  HiSoft Basic Manual. I tried to compile the TWDM.BAS file on page
  3288.  154 and got the following errors. I'm using a 4 meg Falcon and
  3289.  About HiSoft Basic shows more than 2.25 meg free , but 0 alternate
  3290.  free. Can anyone help on this one?
  3291.  The following is the error that was generated:
  3292.  HiSoft BASIC for the Atari version 2.10
  3293.  21 September 93 2.10
  3294.  Compiling C:\LANGUAGE\HISOFTBA\HGT\TWDM.BAS
  3295.  Tokenising
  3296.  Parsing
  3297.  Generating code
  3298.  not enough memory around line 1192
  3299.  Error:  65 Code generation failed at line 6 in file
  3300.  C:\LANGUAGE\HISOFTBA\HGT\TWDM.BAS
  3301.  I later managed to compile the file by juggling where the twdm.bas
  3302.  file was located. Can anyone tell me just how important paths are?
  3303.  If you include toolbox.bas, do you need to say where it is?
  3304.  For eg. REM $include C:\LANGUAGE\HISOFTBA\HGT\TOOLBOX.BAS
  3305.  Thanks for any help
  3306.  ------------
  3307. Category 33,  Topic 8
  3308. Message 199       Mon Sep 05, 1994
  3309. B.AEIN [B Man]               at 19:24 EDT
  3310.  
  3311. Tom,
  3312.  
  3313. I had the same problem!  Try under the Compile menu, where it says output: St
  3314. Ram, TT RAM, Disk, Maximum!  Try changing Maximum to like 500k.
  3315.  
  3316. Does Auto indent work on your machine? No go here!
  3317.  
  3318. Robert,  can you tell me how to get this to work? I wish OR was more active in
  3319. supporting this great software, we need code and a helping hand trying to
  3320. learn how to use GEM.
  3321.  
  3322. In case you did not know, St Review has a Hisoft Tuturial in their mag, I have
  3323. like the last 5 issues or so.  I haven't had time to get in to them too deep
  3324. as I am still relearning Basic.  Some months even have code on the cover disk
  3325. to play with.
  3326.  
  3327. If anyone is interested I might be able to upload the articals and source from
  3328. the disks.
  3329.  
  3330. Bman
  3331.  ------------
  3332. Category 33,  Topic 8
  3333. Message 200       Tue Sep 06, 1994
  3334. HISOFT                       at 12:46 EDT
  3335.  
  3336. You need to increase the program buffer size which you do by  selecting
  3337. "Output to" in the compiler options, then choosing the  "Maximum..." option,
  3338. then increase the amount of memory allocated  to the program buffer.
  3339.  
  3340. Alex Kiernan, HiSoft.
  3341.  ------------
  3342.  
  3343.